blob: 8e015522381afb2c474f2143293a9248e1992378 [file] [log] [blame]
[short] skip
# test with -fullpath
! go test ./x/... -fullpath
stdout '^ +.+/gopath/src/x/fullpath/fullpath_test.go:8: test failed'
# test without -fullpath
! go test ./x/...
stdout '^ +fullpath_test.go:8: test failed'
-- go.mod --
module example
-- x/fullpath/fullpath_test.go --
package fullpath_test
import (
"testing"
)
func TestFullPath(t *testing.T) {
t.Error("test failed")
}