]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix TestIssue11457
authorRuss Cox <rsc@golang.org>
Thu, 3 Nov 2016 03:18:54 +0000 (23:18 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 3 Nov 2016 16:07:08 +0000 (16:07 +0000)
commita35decf5a7a722acb32642b6a096271d10545376
tree896c083cc28480b2fcb41b9dbfc8c3a5d11021b5
parent5f9fb1ce0293c3d5bc2b0fd81ad7e0aaafd414f0
cmd/go: fix TestIssue11457

The goal of the test is to provoke a custom import path check error,
which will contain the current repo path, to see that it says ssh:// in it.

But the fix to #16471 made the test no longer provoke that error.
Provoke the error by checking out from rsc.io instead of github.com/rsc.

Fixes #17701.

Change-Id: I750ffda2ff59c2be8e111d26160997214a73fd9a
Reviewed-on: https://go-review.googlesource.com/32641
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/go_test.go