Skip to content

Commit

Permalink
aider: feat: Add color to print_all_env_vars_to_writer output
Browse files Browse the repository at this point in the history
  • Loading branch information
schpet committed Sep 11, 2024
1 parent 00b97c2 commit 21b1a04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,12 @@ fn test_print_all_env_vars() {

let output_str = String::from_utf8(output).unwrap();
assert!(
output_str.contains("FOO=bar"),
"Output does not contain FOO=bar"
output_str.contains("FOO") && output_str.contains("bar"),
"Output does not contain FOO and bar"
);
assert!(
output_str.contains("BAZ=qux"),
"Output does not contain BAZ=qux"
output_str.contains("BAZ") && output_str.contains("qux"),
"Output does not contain BAZ and qux"
);
}

Expand Down

0 comments on commit 21b1a04

Please sign in to comment.