aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2018-08-09 17:56:59 -0400
committerBryan C. Mills <bcmills@google.com>2018-09-17 16:07:10 +0000
commit4c36bc3dcd0af0b7a94089c049e5a08232c916d7 (patch)
treea82ce38e787606675eba9316781e94fe42c2bc0b /src
parent2db1a7f929892695696eebf685fc484841c08cb4 (diff)
downloadgo-4c36bc3dcd0af0b7a94089c049e5a08232c916d7.tar.xz
cmd/go/testdata/script/mod_test: add missing test invocation for case e
Change-Id: Ib0544adc1444a473f8edcb9dd92aefa9fcbc7330 Reviewed-on: https://go-review.googlesource.com/134656 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/go/testdata/script/mod_test.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/mod_test.txt b/src/cmd/go/testdata/script/mod_test.txt
index caeb25ada8..af4fd76d70 100644
--- a/src/cmd/go/testdata/script/mod_test.txt
+++ b/src/cmd/go/testdata/script/mod_test.txt
@@ -1,5 +1,8 @@
env GO111MODULE=on
+# TODO(bcmills): Convert the 'go test' calls below to 'go list -test' once 'go
+# list' is more sensitive to package loading errors.
+
# A test in the module's root package should work.
cd a/
cp go.mod.empty go.mod
@@ -48,6 +51,10 @@ cd ../d_test
go test
stdout PASS
+cd ../e
+go test
+stdout PASS
+
-- a/go.mod.empty --
module example.com/user/a