File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ impl ActiveReason {
109109 Self :: Default => "default" ,
110110 Self :: Environment => "env" ,
111111 Self :: CommandLine => "cli" ,
112- Self :: OverrideDB ( _) => "override" ,
113- Self :: ToolchainFile ( _) => "config " ,
112+ Self :: OverrideDB ( _) => "path- override" ,
113+ Self :: ToolchainFile ( _) => "toolchain-file " ,
114114 }
115115 }
116116}
Original file line number Diff line number Diff line change @@ -3072,7 +3072,7 @@ env
30723072}
30733073
30743074#[ tokio:: test]
3075- async fn rustup_toolchain_source_override ( ) {
3075+ async fn rustup_toolchain_source_path_override ( ) {
30763076 let cx = CliTestContext :: new ( Scenario :: SimpleV2 ) . await ;
30773077 cx. config
30783078 . expect ( [ "rustup" , "override" , "set" , "nightly" ] )
@@ -3083,13 +3083,13 @@ async fn rustup_toolchain_source_override() {
30833083 . await
30843084 . with_stderr ( snapbox:: str![ [ r#"
30853085...
3086- override
3086+ path- override
30873087
30883088"# ] ] ) ;
30893089}
30903090
30913091#[ tokio:: test]
3092- async fn rustup_toolchain_source_config ( ) {
3092+ async fn rustup_toolchain_source_toolchain_file ( ) {
30933093 let cx = CliTestContext :: new ( Scenario :: SimpleV2 ) . await ;
30943094 let toolchain_file = cx. config . current_dir ( ) . join ( "rust-toolchain.toml" ) ;
30953095 raw:: write_file ( & toolchain_file, "[toolchain]\n channel='nightly'" ) . unwrap ( ) ;
@@ -3098,7 +3098,7 @@ async fn rustup_toolchain_source_config() {
30983098 . await
30993099 . with_stderr ( snapbox:: str![ [ r#"
31003100...
3101- config
3101+ toolchain-file
31023102
31033103"# ] ] ) ;
31043104}
You can’t perform that action at this time.
0 commit comments