Skip to content

Commit 3ce46e3

Browse files
committed
cmd/go: fix TestGoGetDashTIssue8181
The test case was importing golang.org/x/build/cmd/cl, which is a package main and cannot be imported. The test case (stored in a separate repo) has been changed to import golang.org/x/build/gerrit. Update the test accordingly. Fixes #17702. Change-Id: I80e150092111b5a04bb00c992b32edb271edb086 Reviewed-on: https://go-review.googlesource.com/32616 Run-TryBot: Russ Cox <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 9efcdd4 commit 3ce46e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/go_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1913,7 +1913,7 @@ func TestGoGetDashTIssue8181(t *testing.T) {
19131913
tg.setenv("GOPATH", tg.path("."))
19141914
tg.run("get", "-v", "-t", "github.com/rsc/go-get-issue-8181/a", "github.com/rsc/go-get-issue-8181/b")
19151915
tg.run("list", "...")
1916-
tg.grepStdout("x/build/cmd/cl", "missing expected x/build/cmd/cl")
1916+
tg.grepStdout("x/build/gerrit", "missing expected x/build/gerrit")
19171917
}
19181918

19191919
func TestIssue11307(t *testing.T) {

0 commit comments

Comments
 (0)