Stream beets imports over HTTP.

test(log): assert default logger identity and level normalization #30

Merged glerp.sullen.net
targeting main from glerp.sullen.net/goosefoot:test/hygiene-log
Merged opened by and assigned to glerp.sullen.net
targeting main from glerp.sullen.net/goosefoot:test/hygiene-log

Summary #

  • Fix name-to-assertion drift in log.FromContext fallback tests by asserting pointer equality against slog.Default() instead of only checking != nil, and align test names (TestFromContext_...) with the public entrypoint under test.
  • Cover case-insensitive and whitespace-padded log level strings (" DEBUG\n"), unrecognized level fallback ("trace" defaulting to info), and ForceColor: false plain output behavior.
  • Replace abbreviated buf identifiers with outputBuffer and expose got vs. want in failure messages.
Commits 0