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

     1  [short] skip
     2  [!git] skip
     3  
     4  env GOPROXY=direct
     5  env 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.
     9  go get -x vcs-test.golang.org/go/mod/gitrepo1@v1.2.3
    10  stderr '^# get https://vcs-test.golang.org/go/mod/gitrepo1\?go-get=1$'
    11  stderr '^# get https://vcs-test.golang.org/go/mod/gitrepo1\?go-get=1: 200 OK \([0-9.]+s\)$'
    12  ! stderr '^# get //.*'
    13  
    14  -- go.mod --
    15  module m
    16  
    17  go 1.18
    18  

View as plain text