aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/list_wildcard_skip_nonmatching.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/list_wildcard_skip_nonmatching.txt')
-rw-r--r--src/cmd/go/testdata/script/list_wildcard_skip_nonmatching.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/cmd/go/testdata/script/list_wildcard_skip_nonmatching.txt b/src/cmd/go/testdata/script/list_wildcard_skip_nonmatching.txt
index 74ca315a72..02b1088297 100644
--- a/src/cmd/go/testdata/script/list_wildcard_skip_nonmatching.txt
+++ b/src/cmd/go/testdata/script/list_wildcard_skip_nonmatching.txt
@@ -1,13 +1,17 @@
# Test that wildcards don't look in useless directories.
# First make sure that badpkg fails the list of '...'.
-! go list ...
+! go list ./...
stderr badpkg
-# Check that the list of 'm...' succeeds. That implies badpkg was skipped.
-go list m...
+# Check that the list of './goodpkg...' succeeds. That implies badpkg was skipped.
+go list ./goodpkg...
--- m/x.go --
-package m
+-- go.mod --
+module m
+
+go 1.16
+-- goodpkg/x.go --
+package goodpkg
-- badpkg/x.go --
-pkg badpkg \ No newline at end of file
+pkg badpkg