diff --git a/tests/testsuite/git_status.rs b/tests/testsuite/git_status.rs index 50378580..3fdf8e24 100644 --- a/tests/testsuite/git_status.rs +++ b/tests/testsuite/git_status.rs @@ -46,10 +46,7 @@ fn shows_behind_with_count() -> io::Result<()> { .arg(repo_dir) .output()?; let actual = String::from_utf8(output.stdout).unwrap(); - let expected = Color::Red - .bold() - .paint(format!("[{}] ", "⇣1")) - .to_string(); + let expected = Color::Red.bold().paint(format!("[{}] ", "⇣1")).to_string(); assert_eq!(expected, actual); @@ -101,10 +98,7 @@ fn shows_ahead_with_count() -> io::Result<()> { .arg(repo_dir) .output()?; let actual = String::from_utf8(output.stdout).unwrap(); - let expected = Color::Red - .bold() - .paint(format!("[{}] ", "⇡1")) - .to_string(); + let expected = Color::Red.bold().paint(format!("[{}] ", "⇡1")).to_string(); assert_eq!(expected, actual); diff --git a/tests/testsuite/python.rs b/tests/testsuite/python.rs index eba959ce..718259c5 100644 --- a/tests/testsuite/python.rs +++ b/tests/testsuite/python.rs @@ -119,10 +119,7 @@ fn with_virtual_env() -> io::Result<()> { .output()?; let actual = String::from_utf8(output.stdout).unwrap(); - let expected = format!( - "via {} ", - Color::Yellow.bold().paint("🐍 v3.6.9(my_venv)") - ); + let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.6.9(my_venv)")); assert_eq!(expected, actual); Ok(()) }