Debian Codegraph @

src/cmd/go/testdata/script/test_fullpath.txt

raw
1 [short] skip
2
3 # test with -fullpath
4 ! go test ./x/... -fullpath
5 stdout '^ +.+/gopath/src/x/fullpath/fullpath_test.go:8: test failed'
6 # test without -fullpath
7 ! go test ./x/...
8 stdout '^ +fullpath_test.go:8: test failed'
9
10 -- go.mod --
11 module example
12 -- x/fullpath/fullpath_test.go --
13 package fullpath_test
14
15 import (
16 "testing"
17 )
18
19 func TestFullPath(t *testing.T) {
20 t.Error("test failed")
21 }