diff options
Diffstat (limited to 'src/cmd/go/testdata/script/get_goroot.txt')
-rw-r--r-- | src/cmd/go/testdata/script/get_goroot.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/go/testdata/script/get_goroot.txt b/src/cmd/go/testdata/script/get_goroot.txt index 49f1a174d0..929435ad70 100644 --- a/src/cmd/go/testdata/script/get_goroot.txt +++ b/src/cmd/go/testdata/script/get_goroot.txt @@ -1,4 +1,5 @@ [!net] skip +env GO111MODULE=off # Issue 4186. go get cannot be used to download packages to $GOROOT. # Test that without GOPATH set, go get should fail. @@ -49,4 +50,4 @@ stderr '\$GOPATH not set' env GOPATH= env GOROOT=$WORK/home/go/ ! go get -d github.com/golang/example/hello -stderr '\$GOPATH not set'
\ No newline at end of file +stderr '\$GOPATH not set' |