fix: formatting in new test
This commit is contained in:
parent
c63d42e804
commit
281bf03e64
1 changed files with 2 additions and 4 deletions
|
|
@ -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>..."));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue