]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/go/testdata/script/mod_get_future.txt
cmd/go: allow 'go mod download' to switch toolchains if called with explicit arguments
[gostls13.git] / src / cmd / go / testdata / script / mod_get_future.txt
index 72c0b978046009b47e4a1abb87026c3c9e974d1d..3f1c777d967953db1f562669ec10127f862c2773 100644 (file)
@@ -1,6 +1,7 @@
 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\)$'
+stderr '^go: rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21; GOTOOLCHAIN=local\)$'
 
 -- go.mod --
 module m