Skip to content

testing/synctest: test log is not printed without -v #73902

Closed
@neild

Description

@neild

This test fails:

func Test(t *testing.T) {
	synctest.Test(t, func(t *testing.T) {
		t.Error("error")
	})
}

However, when run without -v, it doesn't output the test log:

--- FAIL: Test (0.00s)
FAIL
FAIL	_	0.252s
FAIL

Obviously, it should.

Metadata

Metadata

Assignees

Labels

BugReportIssues describing a possible bug in the Go implementation.NeedsFixThe path to resolution is known, but the work has not been done.release-blocker

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions