...

Text file src/cmd/go/testdata/script/mod_proxy_invalid.txt

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2env GOPROXY=$GOPROXY/invalid
     3
     4! go list -m rsc.io/quote@latest
     5stderr '^go: module rsc.io/quote: invalid response from proxy "'$GOPROXY'": invalid character ''i'' looking for beginning of value$'
     6
     7! go list -m rsc.io/quote@1.5.2
     8stderr '^go: rsc.io/quote@1.5.2: invalid version: invalid response from proxy "'$GOPROXY'": invalid character ''i'' looking for beginning of value$'

View as plain text