Skip to content

Commit

Permalink
[release-branch.go1.19] cmd/go/internal/modload: update TestQueryImpo…
Browse files Browse the repository at this point in the history
…rt 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]>
(cherry picked from commit 3e6ca3a)
Reviewed-on: https://go-review.googlesource.com/c/go/+/444435
Reviewed-by: Heschi Kreinick <[email protected]>
  • Loading branch information
Bryan C. Mills authored and andrew-d committed Dec 7, 2022
1 parent 3fd24de commit 862858c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/go/internal/modload/import_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var importTests = []struct {
},
{
path: "golang.org/x/net",
err: `module golang.org/x/net@.* found \(v0.0.0-.*\), but does not contain package golang.org/x/net`,
err: `module golang.org/x/net@.* found \(v[01]\.\d+\.\d+\), but does not contain package golang.org/x/net`,
},
{
path: "golang.org/x/text",
Expand Down

0 comments on commit 862858c

Please sign in to comment.