mirror of
https://github.com/golang/go
synced 2024-11-17 19:04:47 -07:00
cmd/go: fix bug in test of go get ./path needing to download path
rsc.io/toolstash is gone; use rsc.io/pprof_mac_fix. This fixes a bug in the test. It turns out the code being tested here is also broken, so the test still doesn't pass after this CL (filed #19769). Change-Id: Ieb725c321d7fab600708e133ae28f531e55521ad Reviewed-on: https://go-review.googlesource.com/38743 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
24e94766c0
commit
f0a3018b00
@ -2655,8 +2655,8 @@ func TestGoVetWithTags(t *testing.T) {
|
||||
tg.grepBoth(`c\.go.*wrong number of args for format`, "go get vetpkg did not run scan tagged file")
|
||||
}
|
||||
|
||||
// Issue 9767.
|
||||
func TestGoGetRscIoToolstash(t *testing.T) {
|
||||
// Issue 9767, 19769.
|
||||
func TestGoGetDotSlashDownload(t *testing.T) {
|
||||
testenv.MustHaveExternalNetwork(t)
|
||||
|
||||
tg := testgo(t)
|
||||
@ -2664,7 +2664,7 @@ func TestGoGetRscIoToolstash(t *testing.T) {
|
||||
tg.tempDir("src/rsc.io")
|
||||
tg.setenv("GOPATH", tg.path("."))
|
||||
tg.cd(tg.path("src/rsc.io"))
|
||||
tg.run("get", "./toolstash")
|
||||
tg.run("get", "./pprof_mac_fix")
|
||||
}
|
||||
|
||||
// Issue 13037: Was not parsing <meta> tags in 404 served over HTTPS
|
||||
|
Loading…
Reference in New Issue
Block a user