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

     1  [!exec:hg] skip
     2  [short] skip
     3  
     4  # Testing hg->module converter's generation of +incompatible tags; turn off proxy.
     5  env GOPROXY=direct
     6  env GOSUMDB=off
     7  
     8  # v1.1.0-pre.0.pseudo
     9  go get ...test.hg@accb16
    10  go list -m all
    11  stdout '^vcs-test.golang.org/hg/legacytest.hg v1\.1\.0-pre\.0\.\d{14}-accb169a3696$'
    12  
    13  -- go.mod --
    14  module x
    15  
    16  require vcs-test.golang.org/hg/legacytest.hg v1.0.0
    17  -- x.go --
    18  package x
    19  import "vcs-test.golang.org/hg/legacytest.hg"
    20  

View as plain text