summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/run_wildcard.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/run_wildcard.txt')
-rw-r--r--src/cmd/go/testdata/script/run_wildcard.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/run_wildcard.txt b/src/cmd/go/testdata/script/run_wildcard.txt
new file mode 100644
index 0000000..72036d1
--- /dev/null
+++ b/src/cmd/go/testdata/script/run_wildcard.txt
@@ -0,0 +1,7 @@
+env GO111MODULE=off
+
+# Fix for https://github.com/golang/go/issues/28696:
+# go run x/... should not panic when directory x doesn't exist.
+
+! go run nonexistent/...
+stderr '^go run: no packages loaded from nonexistent/...$'