aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/mod_get_none.txt
blob: b358f05af36745226e909e1f4a81154bbf6fcdae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
env GO111MODULE=on

go mod init example.com/foo

# 'go get bar@none' should be a no-op if module bar is not active.
go get -d example.com/bar@none
go list -m all
! stdout example.com/bar

go get -d example.com/bar@none
go list -m all
! stdout example.com/bar