...

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

Documentation: cmd/go/testdata/script

     1# Regression test for golang.org/issue/34094: modules hosted within gitlab.com
     2# subgroups could not be fetched because the server returned bogus go-import
     3# tags for prefixes of the module path.
     4
     5[short] skip
     6[!git] skip
     7
     8env GO111MODULE=on
     9env GOPROXY=direct
    10env GOSUMDB=off
    11
    12! go mod download vcs-test.golang.org/go/missingrepo/missingrepo-git@latest
    13stderr 'vcs-test.golang.org/go/missingrepo/missingrepo-git: git ls-remote .*: exit status .*'
    14
    15go mod download vcs-test.golang.org/go/missingrepo/missingrepo-git/notmissing@latest

View as plain text