Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed Oct 16, 2024
1 parent 43fff54 commit e9f11fe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@ fn test_file(source_file: &str, target_file: &str) -> bool {
match change.tag() {
ChangeTag::Delete => print!(
"{} {}",
format!("@ {:>3}:", change.old_index().unwrap()).blue().bold(),
format!("@ {:>3}:", change.old_index().unwrap())
.blue()
.bold(),
format!("- {change}").red().bold(),
),
ChangeTag::Insert => print!(
"{} {}",
format!("@ {:>3}:", change.new_index().unwrap()).blue().bold(),
format!("@ {:>3}:", change.new_index().unwrap())
.blue()
.bold(),
format!("+ {change}").green().bold(),
),
ChangeTag::Equal => {}
Expand Down

0 comments on commit e9f11fe

Please sign in to comment.