src/cmd/go/testdata/script/mod_tidy_support_buildx.txt
raw| 1 | # This test checks that "go mod tidy -x" print |
| 2 | # commands tidy executes. |
| 3 | # Verifies golang.org/issue/35849 |
| 4 | |
| 5 | rm $GOPATH/pkg/mod/cache/download/rsc.io/quote |
| 6 | go mod tidy |
| 7 | ! stderr 'get '$GOPROXY |
| 8 | |
| 9 | rm $GOPATH/pkg/mod/cache/download/rsc.io/quote |
| 10 | go mod tidy -x |
| 11 | stderr 'get '$GOPROXY |
| 12 | |
| 13 | -- go.mod -- |
| 14 | module example.com/mod |
| 15 | |
| 16 | -- a.go -- |
| 17 | package mod |
| 18 | import _ "rsc.io/quote" |