src/cmd/go/testdata/script/env_issue46807.txt
raw| 1 | ! go mod tidy |
| 2 | stderr '^go: warning: ignoring go.mod in \$GOPATH' |
| 3 | stderr '^go: go.mod file not found in current directory or any parent directory; see ''go help modules''' |
| 4 | |
| 5 | go env |
| 6 | stdout 'GOPATH=' |
| 7 | stderr '^go: warning: ignoring go.mod in \$GOPATH' |
| 8 | |
| 9 | -- $GOPATH/go.mod -- |
| 10 | module bug |
| 11 | |
| 12 | go 1.21 |