-
Couldn't load subscription status.
- Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Minimal example:
func Test_exits(t *testing.T) {
require.NoError(t, errors.New("Test"))
os.Exit(1)
}
Adding any other tests to the suite shows that the entire file is excluded from the test report, while go test -race ./... will still report them, and also throw a moderately useful error including the test name:
--- FAIL: Test_exits (0.00s)
daemon_test.go:12:
Error Trace: daemon_test.go:12
Error: Received unexpected error:
Test
Test: Test_exits
flag provided but not defined: -test.testlogfile
(and then prints the usage)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working