2020-11-03 12:05:00 +00:00
|
|
|
diff --git a/src/cmd/go/testdata/script/list_std.txt b/src/cmd/go/testdata/script/list_std.txt
|
2022-06-28 10:55:56 +00:00
|
|
|
index 6ab1bd1..4a00e43 100644
|
2020-11-03 12:05:00 +00:00
|
|
|
--- a/src/cmd/go/testdata/script/list_std.txt
|
|
|
|
+++ b/src/cmd/go/testdata/script/list_std.txt
|
|
|
|
@@ -6,7 +6,7 @@ env GO111MODULE=off
|
|
|
|
# Listing GOROOT should only find standard packages.
|
|
|
|
cd $GOROOT/src
|
|
|
|
go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' ./...
|
|
|
|
-! stdout .
|
|
|
|
+stdout _$GOROOT
|
|
|
|
|
|
|
|
# Standard packages should include cmd, but not cmd/vendor.
|
|
|
|
go list ./...
|