cmd/internal/moddeps: confusing error message when difference is due to a "replace" directive #44508
Labels
help wanted
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
On CL 295150 Patchset 2, I suspected that the TryBots would fail due to the
replace
directive, but I wanted to see what would happen anyway.TestDependencyVersionsConsistent
did indeed fail as expected, but the last error in the output is very weird:The correct reason for the failure is the one reported at line 361 (
cannot check consistency for filesystem-local replacement
).However, the failure also includes an extraneous line
cmd requires =>
, which is quite confusing.The text was updated successfully, but these errors were encountered: