[short] skip
[!git] skip

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 vcs-test.golang.org/go/mod/gitrepo1@v1.2.3
stderr '^# get https://vcs-test.golang.org/go/mod/gitrepo1\?go-get=1$'
stderr '^# get https://vcs-test.golang.org/go/mod/gitrepo1\?go-get=1: 200 OK \([0-9.]+s\)$'
! stderr '^# get //.*'

-- go.mod --
module m

go 1.18
