]> Cypherpunks repositories - gostls13.git/commit
cmd/go: test 'go get' and 'go install' with an (invalid) module ending in /v1
authorBryan C. Mills <bcmills@google.com>
Wed, 12 Dec 2018 21:53:09 +0000 (16:53 -0500)
committerBryan C. Mills <bcmills@google.com>
Thu, 13 Dec 2018 18:48:02 +0000 (18:48 +0000)
commit9c623f72c441f93af27b8e4af56ad0ed37adcfeb
tree30cdf8b7dc3eae5171a6f4267dd8fa8e768330f4
parent7d9649bf0d3acb8b83d966afa945db7f2188b753
cmd/go: test 'go get' and 'go install' with an (invalid) module ending in /v1

We expect major version v1 to not have a /v1 suffix.
(Such a suffix on the package path is fine, but not on the module path.)

Fixes #26375

Change-Id: I4206ded82ede36440cedfaf39875c38b9c95dc27
Reviewed-on: https://go-review.googlesource.com/c/153823
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/testdata/mod/example.com_invalidpath_v1_v1.0.0.txt [new file with mode: 0644]
src/cmd/go/testdata/script/mod_import_v1suffix.txt [new file with mode: 0644]