You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. In this case I think the duplication in the https:// URL might not be terrible to retain, but the duplication between cannot find module and unrecognized import path should probably be eliminated.
….ImportMissingError
CL 210338 suppressed duplication for import paths mentioned in an
ImportMissingError.
Unfortunately, that broke one of the cases in
cmd/go/internal/modload.TestImport, and the new error message is still
kind of awkward anyway.
Let's revert that part of the change — we can try again with more
coverage for that case.
Updates #35986
Change-Id: Ib0858aec4f89a7231e32c35ec876da80d80f2098
Reviewed-on: https://go-review.googlesource.com/c/go/+/210342
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
This is present in tip, not in go1.13.3.
What operating system and processor architecture are you using (
go env
)?go env
OutputThe important part of that output is that I have
GONOPROXY
andGOPRIVATE
set to*
.What did you do?
I ran
(cd ./src && ./all.bash)
withGONOPROXY="*"
andGOPRIVATE="*"
in my environment.What did you expect to see?
I expected all.bash to pass, and for each test to either have the correct results or to be intentionally skipped.
What did you see instead?
When either
GONOPROXY
orGOPRIVATE
is set to*
,TestMissingImportErrorRepetition
fails.The test is new for #34752. Is a short/deduplicated error message right in this case too? CC @bcmills
The text was updated successfully, but these errors were encountered: