...

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

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2
     3# Testing mod download with non semantic versions; turn off proxy.
     4[!net:rsc.io] skip
     5[!git] skip
     6env GOPROXY=direct
     7env GOSUMDB=off
     8
     9go mod download rsc.io/quote@a91498bed0a73d4bb9c1fb2597925f7883bc40a7
    10exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.info
    11exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.mod
    12exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.zip
    13
    14go mod download rsc.io/quote@master
    15exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.info
    16exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.mod
    17exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.zip
    18
    19
    20-- go.mod --
    21module m
    22
    23-- m.go --
    24package m

View as plain text