diff options
Diffstat (limited to 'src/cmd/go/testdata/script/mod_get_future.txt')
-rw-r--r-- | src/cmd/go/testdata/script/mod_get_future.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/mod_get_future.txt b/src/cmd/go/testdata/script/mod_get_future.txt new file mode 100644 index 0000000..3f1c777 --- /dev/null +++ b/src/cmd/go/testdata/script/mod_get_future.txt @@ -0,0 +1,13 @@ +env TESTGO_VERSION=go1.21 +env GOTOOLCHAIN=local +! go mod download rsc.io/future@v1.0.0 +stderr '^go: rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21; GOTOOLCHAIN=local\)$' + +-- go.mod -- +module m +go 1.21 + +-- x.go -- +package p + +import "rsc.io/future/foo" |