...

Text file src/cmd/go/testdata/script/test_status.txt

Documentation: cmd/go/testdata/script

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

View as plain text