fix: formatting in new test

This commit is contained in:
Caleb Cartwright 2022-02-15 20:49:36 -06:00 committed by Caleb Cartwright
parent c63d42e804
commit 281bf03e64

View file

@ -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>..."));
}