...
Text file
src/cmd/go/testdata/script/list_buildmod_reason_issue67587.txt
1cd thirteen
2! go list -deps
3stderr '(Go version in go.mod is 1.13, so vendor directory was not used.)'
4
5cd ../unspecified
6! go list -deps
7stderr '(Go version in go.mod is unspecified, so vendor directory was not used.)'
8
9-- thirteen/foo.go --
10package foo
11
12import _ "github.com/foo/bar"
13-- thirteen/go.mod --
14module example.com
15
16go 1.13
17-- thirteen/vendor/github.com/foo/bar/bar.go --
18package bar
19-- unspecified/foo.go --
20package foo
21
22import _ "github.com/foo/bar"
23-- unspecified/go.mod --
24module example.com
25-- unspecified/vendor/github.com/foo/bar/bar.go --
26package bar
View as plain text