...

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

Documentation: cmd/go/testdata/script

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

View as plain text