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

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

View as plain text