You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
499 B
14 lines
499 B
2 years ago
|
diff --git a/src/cmd/go/testdata/script/list_std.txt b/src/cmd/go/testdata/script/list_std.txt
|
||
|
index 6ab1bd1674..4a00e436fd 100644
|
||
|
--- 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 ./...
|