blob: 2517664dd02308901fe338e5daac43a73c16b306 [file] [log] [blame]
# 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'