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

     1  # Issue 65406. The testdata directory in GOROOT/src
     2  # shouldn't be treated as a standard package.
     3  
     4  go list -f '{{.ImportPath}} {{.Dir}}' testdata
     5  ! stderr 'found package testdata in multiple modules'
     6  stdout 'testdata '$WORK${/}'gopath'${/}'src'
     7  
     8  -- go.mod --
     9  module testdata
    10  -- p.go --
    11  package p

View as plain text