aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/get_insecure_no_longer_supported.txt
blob: 00bf32fc78effbb635570ffa919e96af69e561ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# GOPATH: Set up
env GO111MODULE=off

# GOPATH: Fetch with insecure, should error
! go get -insecure test
stderr 'go: -insecure flag is no longer supported; use GOINSECURE instead'

# Modules: Set up
env GO111MODULE=on

# Modules: Fetch with insecure, should error
! go get -insecure test
stderr 'go: -insecure flag is no longer supported; use GOINSECURE instead'