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() {
13931393
13941394"# ] ] )
13951395 . 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+
13961405 cx. config
13971406 . expect ( [ "rustup" , "default" , "nightly" ] )
13981407 . await
13991408 . 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 ( ) ;
14001417 cx. config
14011418 . expect ( [ "rustup" , "+nightly" , "which" , "rustc" ] )
14021419 . await
You can’t perform that action at this time.
0 commit comments