src/cmd/go/testdata/script/mod_get_retract_ambiguous.txt
raw| 1 | ! go get example.com/retract/ambiguous/other |
| 2 | stderr 'ambiguous import: found package example.com/retract/ambiguous/nested in multiple modules:' |
| 3 | stderr '^go: warning: example.com/retract/ambiguous/[email protected]: retracted by module author: nested modules are bad$' |
| 4 | |
| 5 | -- go.mod -- |
| 6 | module example.com/use |
| 7 | |
| 8 | go 1.16 |
| 9 | |
| 10 | require example.com/retract/ambiguous/nested v1.9.0-bad |