"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cmd/go/internal/modload/query_test.go" between
go1.12.16.src.tar.gz and go1.12.17.src.tar.gz

About: Google’s Go is a compiled, garbage-collected, concurrent programming language. Stable release (1.12).

query_test.go  (go1.12.16.src):query_test.go  (go1.12.17.src)
skipping to change at line 122 skipping to change at line 122
{path: queryRepo, query: "start", vers: "v0.0.0-20180704023101-5e9e31667d df"}, {path: queryRepo, query: "start", vers: "v0.0.0-20180704023101-5e9e31667d df"},
{path: queryRepo, query: "7a1b6bf", vers: "v0.1.0"}, {path: queryRepo, query: "7a1b6bf", vers: "v0.1.0"},
{path: queryRepoV2, query: "<v0.0.0", err: `no matching versions for quer y "<v0.0.0"`}, {path: queryRepoV2, query: "<v0.0.0", err: `no matching versions for quer y "<v0.0.0"`},
{path: queryRepoV2, query: "<=v0.0.0", err: `no matching versions for que ry "<=v0.0.0"`}, {path: queryRepoV2, query: "<=v0.0.0", err: `no matching versions for que ry "<=v0.0.0"`},
{path: queryRepoV2, query: ">v0.0.0", vers: "v2.0.0"}, {path: queryRepoV2, query: ">v0.0.0", vers: "v2.0.0"},
{path: queryRepoV2, query: ">=v0.0.0", vers: "v2.0.0"}, {path: queryRepoV2, query: ">=v0.0.0", vers: "v2.0.0"},
{path: queryRepoV2, query: "v0.0.1+foo", vers: "v2.0.0-20180704023347-179 bc86b1be3"}, {path: queryRepoV2, query: "v0.0.1+foo", vers: "v2.0.0-20180704023347-179 bc86b1be3"},
{path: queryRepoV2, query: "latest", vers: "v2.5.5"}, {path: queryRepoV2, query: "latest", vers: "v2.5.5"},
{path: queryRepoV3, query: "latest", vers: "v3.0.0-20180704024501-e0cf3de
987e6"},
{path: emptyRepo, query: "latest", vers: "v0.0.0-20180704023549-7bb914627 242"}, {path: emptyRepo, query: "latest", vers: "v0.0.0-20180704023549-7bb914627 242"},
{path: emptyRepo, query: ">v0.0.0", err: `no matching versions for query ">v0.0.0"`}, {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"`}, {path: emptyRepo, query: "<v10.0.0", err: `no matching versions for query "<v10.0.0"`},
} }
func TestQuery(t *testing.T) { func TestQuery(t *testing.T) {
testenv.MustHaveExternalNetwork(t) testenv.MustHaveExternalNetwork(t)
for _, tt := range queryTests { for _, tt := range queryTests {
allow := tt.allow allow := tt.allow
 End of changes. 1 change blocks. 
3 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)