...
1env GOPROXY=direct
2env GONOSUMDB=vcs-test.golang.org
3
4# Testing that git export-subst is disabled
5[short] skip 'uses git'
6[!git] skip
7go build
8
9-- x.go --
10package x
11
12import _ "vcs-test.golang.org/git/export-subst.git"
13
14-- go.mod --
15module x
16
17require vcs-test.golang.org/git/export-subst.git v0.0.0-20180927204031-98817ac105fc
18
19-- go.sum --
20vcs-test.golang.org/git/export-subst.git v0.0.0-20180927204031-98817ac105fc h1:JSFJzPmCTsz2eFs1jjb40Tun7DZZ6TZQUWgsh8VNZYE=
21vcs-test.golang.org/git/export-subst.git v0.0.0-20180927204031-98817ac105fc/go.mod h1:UgzsJqCUIrlpaTSm+IYkSmrpeo+9g12tsw/rNKnMfwE=
View as plain text