Skip to content

Commit 732252c

Browse files
Bryan C. Millsromaindoumenc
Bryan C. Mills
authored andcommitted
cmd/go/internal/modload: update TestQueryImport to pass with tagged versions of x/net
For golang#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]>
1 parent 5b06ac3 commit 732252c

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)