From: Bryan C. Mills Date: Thu, 9 Aug 2018 21:56:59 +0000 (-0400) Subject: cmd/go/testdata/script/mod_test: add missing test invocation for case e X-Git-Tag: go1.12beta1~1075 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4c36bc3dcd0af0b7a94089c049e5a08232c916d7;p=gostls13.git 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í Reviewed-by: Ian Lance Taylor Run-TryBot: Daniel Martí TryBot-Result: Gobot Gobot --- 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