blob: 2517664dd02308901fe338e5daac43a73c16b306 (
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 get: -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 get: -insecure flag is no longer supported; use GOINSECURE instead'
|