summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/fileline.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/fileline.txt')
-rw-r--r--src/cmd/go/testdata/script/fileline.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/fileline.txt b/src/cmd/go/testdata/script/fileline.txt
new file mode 100644
index 0000000..5cb35f0
--- /dev/null
+++ b/src/cmd/go/testdata/script/fileline.txt
@@ -0,0 +1,8 @@
+env GO111MODULE=off
+
+# look for short, relative file:line in error message
+! go run ../../gopath/x/y/z/err.go
+stderr ^..[\\/]x[\\/]y[\\/]z[\\/]err.go:
+
+-- ../x/y/z/err.go --
+package main; import "bar"