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

     1  # Test that GOPATH/pkg/mod is excluded
     2  env GO111MODULE=off
     3  ! go list mod/foo
     4  stderr 'disallowed import path'
     5  
     6  -- mod/foo/foo.go --
     7  package foo
     8  

View as plain text