]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix test for moved package in go get -u
authorRuss Cox <rsc@golang.org>
Fri, 21 Oct 2016 14:45:47 +0000 (10:45 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 24 Oct 2016 15:17:47 +0000 (15:17 +0000)
commit17ad60b8a4b92ee36f5b14c609ad1d0b5805b886
tree1c43f47bb749d34863b9790ce64eed1f4da96f1c
parentf3b4abd806c392ff0bf8566009e750ebc01ae355
cmd/go: fix test for moved package in go get -u

What matters during go get -u is not whether there is an import comment
but whether we resolved the path by an HTML <meta> tag.

Fixes #16471.

Change-Id: I6b194a3f73a7962a0170b4d5cf51cfed74e02c00
Reviewed-on: https://go-review.googlesource.com/31658
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Quentin Smith <quentin@golang.org>
src/cmd/go/get.go
src/cmd/go/go_test.go
src/cmd/go/vcs.go