We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3c4c78 commit 17bc12cCopy full SHA for 17bc12c
1 file changed
tests/integration.rs
@@ -84,13 +84,13 @@ mod common {
84
let mut cmd = cargo_bin_cmd!("diffutils");
85
cmd.arg("diff");
86
cmd.arg(&nopath).arg(&nopath);
87
- cmd.assert().code(predicate::eq(2)).failure().stderr(
88
- predicate::str::contains(format!(
+ cmd.assert()
+ .code(predicate::eq(2))
89
+ .failure()
90
+ .stderr(predicate::str::contains(format!(
91
": {}: {error_message}\n",
92
&nopath.as_os_str().to_string_lossy()
- ))
- .count(2),
93
- );
+ )));
94
95
Ok(())
96
}
0 commit comments