diff --git a/src/cmd/go/testdata/script/list_std_vendor.txt b/src/cmd/go/testdata/script/list_std_vendor.txt index 8f27cc1e8d8..923e95799da 100644 --- a/src/cmd/go/testdata/script/list_std_vendor.txt +++ b/src/cmd/go/testdata/script/list_std_vendor.txt @@ -28,5 +28,6 @@ cmp stdout $WORK/net-deps.txt [!net] stop env GOPROXY= +env GOWORK=off go mod why -m golang.org/x/net stdout '^# golang.org/x/net\nnet\ngolang.org/x/net' diff --git a/src/cmd/go/testdata/script/mod_doc.txt b/src/cmd/go/testdata/script/mod_doc.txt index 595ad679fc0..bf0a19d770b 100644 --- a/src/cmd/go/testdata/script/mod_doc.txt +++ b/src/cmd/go/testdata/script/mod_doc.txt @@ -50,6 +50,7 @@ stderr '^doc: cannot find module providing package example.com/hello: module loo cd $GOROOT/src env GOFLAGS= +env GOWORK=off go doc cryptobyte stdout '// import "golang.org/x/crypto/cryptobyte"' diff --git a/src/cmd/go/testdata/script/mod_list_std.txt b/src/cmd/go/testdata/script/mod_list_std.txt index cd95b6ad4d6..7a4fe218231 100644 --- a/src/cmd/go/testdata/script/mod_list_std.txt +++ b/src/cmd/go/testdata/script/mod_list_std.txt @@ -36,6 +36,7 @@ stdout ^bytes$ # rules). cd $GOROOT/src +env GOWORK=off go list std stdout ^vendor/golang.org/x/net/http2/hpack