summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/script/mod_getx.txt
blob: dee3f747c6c38bd5449699f9d5cd08f2e68162ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[short] skip
[!net] skip
[!git] skip

env GO111MODULE=on
env GOPROXY=direct
env GOSUMDB=off

# 'go get -x' should log URLs with an HTTP or HTTPS scheme.
# A bug had caused us to log schemeless URLs instead.
go get -x golang.org/x/text@v0.1.0
stderr '^# get https://golang.org/x/text\?go-get=1$'
stderr '^# get https://golang.org/x/text\?go-get=1: 200 OK \([0-9.]+s\)$'
! stderr '^# get //.*'

-- go.mod --
module m

go 1.18