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

     1  env GO111MODULE=on
     2  env 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'
     6  stdout '"Error": ".*verifying (module|go.mod)'
     7  
     8  -- go.mod --
     9  module m
    10  

View as plain text