summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/run_hello.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/script/run_hello.txt')
-rw-r--r--src/cmd/go/testdata/script/run_hello.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/run_hello.txt b/src/cmd/go/testdata/script/run_hello.txt
new file mode 100644
index 0000000..939b661
--- /dev/null
+++ b/src/cmd/go/testdata/script/run_hello.txt
@@ -0,0 +1,9 @@
+env GO111MODULE=off
+
+# hello world
+go run hello.go
+stderr 'hello world'
+
+-- hello.go --
+package main
+func main() { println("hello world") }