Skip to content

Commit 281bf03

Browse files
fix: formatting in new test
1 parent c63d42e commit 281bf03

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: tests/rustfmt/main.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ fn inline_config() {
109109

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

0 commit comments

Comments
 (0)