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

     1  # Regression test for golang.org/issue/34092: with an empty module cache,
     2  # 'GOPROXY=direct go get golang.org/x/tools/gopls@master' did not correctly
     3  # resolve the pseudo-version for its dependency on golang.org/x/tools.
     4  
     5  [!net:cloud.google.com] skip
     6  [!git] skip
     7  
     8  env GO111MODULE=on
     9  env GOPROXY=direct
    10  env GOSUMDB=off
    11  
    12  go list -m cloud.google.com/go@main
    13  ! stdout 'v0.0.0-'
    14  
    15  -- go.mod --
    16  module example.com
    17  
    18  go 1.14
    19  -- go.sum --
    20  

View as plain text