mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
fix: formatting in new test
This commit is contained in:
committed by
Caleb Cartwright
parent
c63d42e804
commit
281bf03e64
@@ -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>..."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user