Skip to content

Commit

Permalink
fix: formatting in new test
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed Feb 16, 2022
1 parent c63d42e commit 281bf03
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/rustfmt/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ fn inline_config() {

#[test]
fn rustfmt_usage_text() {
let args = [
"--help",
];
let args = ["--help"];
let (stdout, _) = rustfmt(&args);
assert!(stdout.contains(&format!("Format Rust code\n\nusage: rustfmt [options] <file>...")));
assert!(stdout.contains("Format Rust code\n\nusage: rustfmt [options] <file>..."));
}

0 comments on commit 281bf03

Please sign in to comment.