...

Text file src/cmd/go/testdata/script/get_insecure_no_longer_supported.txt

Documentation: cmd/go/testdata/script

     1# GOPATH: Set up
     2env GO111MODULE=off
     3
     4# GOPATH: Fetch with insecure, should error
     5! go get -insecure test
     6stderr 'go: -insecure flag is no longer supported; use GOINSECURE instead'
     7
     8# Modules: Set up
     9env GO111MODULE=on
    10
    11# Modules: Fetch with insecure, should error
    12! go get -insecure test
    13stderr 'go: -insecure flag is no longer supported; use GOINSECURE instead'

View as plain text