testing: fmt.Print missing a trailing newline interferes with test output formatting #35845
Labels
FrozenDueToAge
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
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?
some_test.go
What did you expect to see?
3 lines of passes:
TestBad
TestOK
somepkg
packageWhat did you see instead?
pass event for
TestBad
is not emitted.However, the passing output line is included together with the
fmt.Print
output:The text was updated successfully, but these errors were encountered: