Skip to content

Commit 8d10cc0

Browse files
Bryan C. Millsheschi
Bryan C. Mills
authored andcommitted
[release-branch.go1.19] cmd/go/internal/modload: update TestQueryImport to pass with tagged versions of x/net
For #48523. Change-Id: Ied35d15462cbae1002e1db1e6e119a6c9f8323da Reviewed-on: https://go-review.googlesource.com/c/go/+/444156 Run-TryBot: Bryan Mills <[email protected]> Reviewed-by: Than McIntosh <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Bryan Mills <[email protected]> (cherry picked from commit 3e6ca3a) Reviewed-on: https://go-review.googlesource.com/c/go/+/444435 Reviewed-by: Heschi Kreinick <[email protected]>
1 parent 8956644 commit 8d10cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/cmd/go/internal/modload/import_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var importTests = []struct {
2727
},
2828
{
2929
path: "golang.org/x/net",
30-
err: `module golang.org/x/net@.* found \(v0.0.0-.*\), but does not contain package golang.org/x/net`,
30+
err: `module golang.org/x/net@.* found \(v[01]\.\d+\.\d+\), but does not contain package golang.org/x/net`,
3131
},
3232
{
3333
path: "golang.org/x/text",

0 commit comments

Comments
 (0)