aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/mod_gopkg_unstable.txt
blob: 9d288a64d455803550c550b649d31b8e6b88fdb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
env GO111MODULE=on

cp go.mod.empty go.mod
go get -d gopkg.in/dummy.v2-unstable

cp x.go.txt x.go
cp go.mod.empty go.mod
go list

[!net] skip
[!exec:git] skip

env GOPROXY=direct
env GOSUMDB=off
go get gopkg.in/macaroon-bakery.v2-unstable/bakery
go list -m all
stdout 'gopkg.in/macaroon-bakery.v2-unstable v2.0.0-[0-9]+-[0-9a-f]+$'

-- go.mod.empty --
module m

-- x.go.txt --
package x
import _ "gopkg.in/dummy.v2-unstable"