src/cmd/go/testdata/script/mod_install_hint.txt
raw| 1 | # Module is replaced but not required. No hint appears as no module is suggested. |
| 2 | go mod init m |
| 3 | go mod edit -replace=github.com/[email protected]=github.com/[email protected] |
| 4 | ! go install github.com/notrequired |
| 5 | ! stderr 'to add it:' |