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

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

View as plain text