%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/go/src/cmd/go/testdata/script/
Upload File :
Create Path :
Current File : //usr/local/go/src/cmd/go/testdata/script/build_i_deprecate.txt

# Check that deprecation warnings are printed when the -i flag is used.
# TODO(golang.org/issue/41696): remove the -i flag after Go 1.16, and this test.

go build -n -i
stderr '^go build: -i flag is deprecated$'

go install -n -i
stderr '^go install: -i flag is deprecated$'

go test -n -i
stderr '^go test: -i flag is deprecated$'


# 'go clean -i' should not print a deprecation warning.
# It will continue working.
go clean -i .
! stderr .

-- go.mod --
module m

go 1.16
-- m.go --
package m

Zerion Mini Shell 1.0