1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
env GO111MODULE=off ! go test x y stdout ^FAIL\s+x stdout ^ok\s+y stdout (?-m)FAIL\n$ -- x/x_test.go -- package x import "testing" func TestNothingJustFail(t *testing.T) { t.Fail() } -- y/y_test.go -- package y