...

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

Documentation: cmd/go/testdata/script

     1[!net:golang.org] skip
     2[!git] skip
     3
     4env GO111MODULE=on
     5env GOPROXY=direct
     6env GOSUMDB=off
     7
     8# 'go get -x' should log URLs with an HTTP or HTTPS scheme.
     9# A bug had caused us to log schemeless URLs instead.
    10go get -x golang.org/x/text@v0.1.0
    11stderr '^# get https://golang.org/x/text\?go-get=1$'
    12stderr '^# get https://golang.org/x/text\?go-get=1: 200 OK \([0-9.]+s\)$'
    13! stderr '^# get //.*'
    14
    15-- go.mod --
    16module m
    17
    18go 1.18

View as plain text