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