File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ impl Config {
575
575
if let Some ( env_key) = self . upper_case_env . get ( key. as_env_key ( ) ) {
576
576
let _ = self . shell ( ) . warn ( format ! (
577
577
"Environment variables are expected to use uppercase letters and underscores, \
578
- the variable {} will be ignored and have no effect",
578
+ the variable `{}` will be ignored and have no effect",
579
579
env_key
580
580
) ) ;
581
581
}
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ fn target_in_environment_contains_lower_case() {
369
369
. with_status ( 101 )
370
370
. with_stderr_contains ( format ! (
371
371
"warning: Environment variables are expected to use uppercase letters and underscores, \
372
- the variable {} will be ignored and have no effect",
372
+ the variable `{}` will be ignored and have no effect",
373
373
target_key
374
374
) )
375
375
. run ( ) ;
@@ -392,7 +392,7 @@ fn target_in_environment_contains_lower_case_on_windows() {
392
392
. with_status ( 101 )
393
393
. with_stderr_does_not_contain ( format ! (
394
394
"warning: Environment variables are expected to use uppercase letters and underscores, \
395
- the variable {} will be ignored and have no effect",
395
+ the variable `{}` will be ignored and have no effect",
396
396
target_key
397
397
) )
398
398
. run ( ) ;
You can’t perform that action at this time.
0 commit comments