Skip to content

Commit 9ca4e0c

Browse files
committed
style: run cargo fmt on tests
1 parent 788214e commit 9ca4e0c

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

tests/cli.rs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,11 @@ fn why_cmd() -> Command {
1414

1515
#[test]
1616
fn lookup_rust_error() {
17-
why_cmd()
18-
.arg("E0499")
19-
.assert()
20-
.success()
21-
.stdout(
22-
predicate::str::contains("E0499")
23-
.and(predicate::str::contains("Multiple mutable borrows"))
24-
.and(predicate::str::contains("Fix:")),
25-
);
17+
why_cmd().arg("E0499").assert().success().stdout(
18+
predicate::str::contains("E0499")
19+
.and(predicate::str::contains("Multiple mutable borrows"))
20+
.and(predicate::str::contains("Fix:")),
21+
);
2622
}
2723

2824
#[test]

0 commit comments

Comments
 (0)