File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1393,10 +1393,27 @@ async fn override_by_toolchain_on_the_command_line() {
1393
1393
1394
1394
"# ] ] )
1395
1395
. is_ok ( ) ;
1396
+ cx. config
1397
+ . expect ( [ "rustup" , "+nightly" , "which" , "rustc" ] )
1398
+ . await
1399
+ . with_stdout ( snapbox:: str![ [ r#"
1400
+ [..]/toolchains/nightly-[HOST_TRIPLE]/bin/rustc[EXE]
1401
+
1402
+ "# ] ] )
1403
+ . is_ok ( ) ;
1404
+
1396
1405
cx. config
1397
1406
. expect ( [ "rustup" , "default" , "nightly" ] )
1398
1407
. await
1399
1408
. is_ok ( ) ;
1409
+ cx. config
1410
+ . expect ( [ "rustup" , "+stable" , "which" , "rustc" ] )
1411
+ . await
1412
+ . with_stdout ( snapbox:: str![ [ r#"
1413
+ [..]/toolchains/stable-[HOST_TRIPLE]/bin/rustc[EXE]
1414
+
1415
+ "# ] ] )
1416
+ . is_ok ( ) ;
1400
1417
cx. config
1401
1418
. expect ( [ "rustup" , "+nightly" , "which" , "rustc" ] )
1402
1419
. await
You can’t perform that action at this time.
0 commit comments