cmd/test2json: Fails to mark a test as failed when using os.Exit #43263
Labels
FrozenDueToAge
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?
I used the following test scenario
When I run the command below, the test fails, as documented in the release notes
However, when I run:
The test passes.
What did you expect to see?
I expect to see a test failure when using
go test -c
too.What did you see instead?
I see the tests passing.
The text was updated successfully, but these errors were encountered: