We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 788214e commit 9ca4e0cCopy full SHA for 9ca4e0c
1 file changed
tests/cli.rs
@@ -14,15 +14,11 @@ fn why_cmd() -> Command {
14
15
#[test]
16
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
- );
+ why_cmd().arg("E0499").assert().success().stdout(
+ predicate::str::contains("E0499")
+ .and(predicate::str::contains("Multiple mutable borrows"))
+ .and(predicate::str::contains("Fix:")),
+ );
26
}
27
28
0 commit comments