Text file src/cmd/go/testdata/script/mod_get_future.txt
1 env TESTGO_VERSION=go1.21 2 env GOTOOLCHAIN=local 3 ! go mod download rsc.io/future@v1.0.0 4 stderr '^go: rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21; GOTOOLCHAIN=local\)$' 5 6 -- go.mod -- 7 module m 8 go 1.21 9 10 -- x.go -- 11 package p 12 13 import "rsc.io/future/foo" 14