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