]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/go/testdata/script/gotoolchain_modcmds.txt
cmd/go: allow 'go mod download' to switch toolchains if called with explicit arguments
[gostls13.git] / src / cmd / go / testdata / script / gotoolchain_modcmds.txt
index 83b75f0abbdea1f84e2a4c04ac2fc43263d1a1d7..64db6d9666c57fe7cec0930a719e8fca043185c6 100644 (file)
@@ -7,12 +7,6 @@ env TESTGO_VERSION_SWITCH=switch
 # they can't interpret the graph themselves, and they aren't allowed to update
 # the go.mod file to record a specific, stable toolchain version that can.
 
-! 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.0\)'
-
-! go mod download rsc.io/future
-stderr '^go: rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21.0\)'
-
 ! go mod download
 stderr '^go: rsc.io/future@v1.0.0: module rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21.0\)'
 
@@ -33,8 +27,6 @@ stderr '^go: added toolchain go1.999testmod$'
 
 # Now, the various 'go mod' subcommands should succeed.
 
-go mod download rsc.io/future@v1.0.0
-go mod download rsc.io/future
 go mod download
 
 go mod verify