diff options
author | Bryan C. Mills <bcmills@google.com> | 2020-01-10 09:25:51 -0500 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2020-01-10 21:56:50 +0000 |
commit | 9720aff0bcf876647cf064a4e92eeab43598bfc5 (patch) | |
tree | 788813a2d4a0f311a4bd6611e060c34bbfb98f25 | |
parent | 694e20f4e08af7e7669c9652424d0df9b0b83f00 (diff) | |
download | go-9720aff0bcf876647cf064a4e92eeab43598bfc5.tar.gz go-9720aff0bcf876647cf064a4e92eeab43598bfc5.zip |
[release-branch.go1.12] cmd/go/internal/modload: remove erroneous test case
Commit e0cf3de987e6 of the vcs-test.golang.org/git/querytest repo
includes a go.mod file specifying path vcs-test.golang.org/git/querytest.git,
as does the latest commit. Since the repository also lacks v3 tags,
a query for "latest" with a v3 path should fail.
Due to a bug, that query does not fail as expected with Go 1.12.
However, we do not need to continue to test for buggy behavior that
was fixed in a subsequent release.
Updates #36489
Change-Id: I766390c962fc75ba98fad02831310d90abf3055f
Reviewed-on: https://go-review.googlesource.com/c/go/+/214281
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-rw-r--r-- | src/cmd/go/internal/modload/query_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/go/internal/modload/query_test.go b/src/cmd/go/internal/modload/query_test.go index d6e52c6b74..2b4a871849 100644 --- a/src/cmd/go/internal/modload/query_test.go +++ b/src/cmd/go/internal/modload/query_test.go @@ -119,8 +119,6 @@ var queryTests = []struct { {path: queryRepoV2, query: "v0.0.1+foo", vers: "v2.0.0-20180704023347-179bc86b1be3"}, {path: queryRepoV2, query: "latest", vers: "v2.5.5"}, - {path: queryRepoV3, query: "latest", vers: "v3.0.0-20180704024501-e0cf3de987e6"}, - {path: emptyRepo, query: "latest", vers: "v0.0.0-20180704023549-7bb914627242"}, {path: emptyRepo, query: ">v0.0.0", err: `no matching versions for query ">v0.0.0"`}, {path: emptyRepo, query: "<v10.0.0", err: `no matching versions for query "<v10.0.0"`}, |