...

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

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2env GOSUMDB=$sumdb' '$proxy/sumdb-wrong
     3
     4# download -json with version should print JSON on sumdb failure
     5! go mod download -json 'rsc.io/quote@<=v1.5.0'
     6stdout '"Error": ".*verifying (module|go.mod)'
     7
     8-- go.mod --
     9module m

View as plain text