testing/slogtest: Parsing example fails when level is Error or Warn #62115
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Copied example from package docs, added a level and tried running it.
What did you expect to see?
I expected to see the test pass.
What did you see instead?
NOTE: Same test passes if Level is changed to Info or Debug.
The text was updated successfully, but these errors were encountered: