-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/go/internal/modload: fix swapped paths in error message
Updates #33879 Change-Id: Ifc91490b1cb791fdf5ffe69ef81c0ec0e6cbecc3 Reviewed-on: https://go-review.googlesource.com/c/go/+/191997 Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Alexander Rakoczy <[email protected]>
- Loading branch information
Bryan C. Mills
committed
Aug 27, 2019
1 parent
c302785
commit 8f5353f
Showing
3 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,28 +58,28 @@ func Test(t *testing.T) {} | |
-- update-main-expected -- | ||
go get: example.com/badchain/[email protected] updating to | ||
example.com/badchain/[email protected]: parsing go.mod: | ||
module declares its path as: example.com/badchain/c | ||
but was required as: example.com/badchain/wrong | ||
module declares its path as: badchain.example.com/c | ||
but was required as: example.com/badchain/c | ||
-- update-a-expected -- | ||
go get: example.com/badchain/[email protected] requires | ||
example.com/badchain/[email protected] requires | ||
example.com/badchain/[email protected]: parsing go.mod: | ||
module declares its path as: example.com/badchain/c | ||
but was required as: example.com/badchain/wrong | ||
module declares its path as: badchain.example.com/c | ||
but was required as: example.com/badchain/c | ||
-- list-expected -- | ||
go: example.com/badchain/[email protected] requires | ||
example.com/badchain/[email protected] requires | ||
example.com/badchain/[email protected]: parsing go.mod: | ||
module declares its path as: example.com/badchain/c | ||
but was required as: example.com/badchain/wrong | ||
module declares its path as: badchain.example.com/c | ||
but was required as: example.com/badchain/c | ||
-- list-missing-expected -- | ||
go: m/use imports | ||
example.com/badchain/c: example.com/badchain/[email protected]: parsing go.mod: | ||
module declares its path as: example.com/badchain/c | ||
but was required as: example.com/badchain/wrong | ||
module declares its path as: badchain.example.com/c | ||
but was required as: example.com/badchain/c | ||
-- list-missing-test-expected -- | ||
go: m/testuse tested by | ||
m/testuse.test imports | ||
example.com/badchain/c: example.com/badchain/[email protected]: parsing go.mod: | ||
module declares its path as: example.com/badchain/c | ||
but was required as: example.com/badchain/wrong | ||
module declares its path as: badchain.example.com/c | ||
but was required as: example.com/badchain/c |