aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2023-03-20 16:13:02 -0400
committerCherry Mui <cherryyz@google.com>2023-03-22 21:13:47 +0000
commit65896f68fc347cb3734922c5dd3576156bf06a49 (patch)
treec7d8d933cdd06cd6cf10f648454e18659861261f /src
parentd35dd190ff30fcbab6909ac68ae5114b157b9009 (diff)
downloadgo-65896f68fc347cb3734922c5dd3576156bf06a49.tar.xz
cmd/go: make get_dash_t test more specific
Currently it uses "go list ...", which includes all packages in the known universe, and may include unresolved dependencies. The test for issue #8181 is specifically for that the test dependency of package b is downloaded. Test that specifically. Change-Id: Icfbd7e197698b10ae4bc7c8aa3b0f2c477ca6b8e Reviewed-on: https://go-review.googlesource.com/c/go/+/477837 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/go/testdata/script/get_dash_t.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/testdata/script/get_dash_t.txt b/src/cmd/go/testdata/script/get_dash_t.txt
index 0a0a6084de..66d217a869 100644
--- a/src/cmd/go/testdata/script/get_dash_t.txt
+++ b/src/cmd/go/testdata/script/get_dash_t.txt
@@ -5,5 +5,5 @@
env GO111MODULE=off
go get -v -t github.com/rsc/go-get-issue-8181/a github.com/rsc/go-get-issue-8181/b
-go list ...
+go list -test -deps github.com/rsc/go-get-issue-8181/b
stdout 'x/build/gerrit'