Skip to content

Commit 17bc12c

Browse files
committed
Fix failed test
1 parent f3c4c78 commit 17bc12c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/integration.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ mod common {
8484
let mut cmd = cargo_bin_cmd!("diffutils");
8585
cmd.arg("diff");
8686
cmd.arg(&nopath).arg(&nopath);
87-
cmd.assert().code(predicate::eq(2)).failure().stderr(
88-
predicate::str::contains(format!(
87+
cmd.assert()
88+
.code(predicate::eq(2))
89+
.failure()
90+
.stderr(predicate::str::contains(format!(
8991
": {}: {error_message}\n",
9092
&nopath.as_os_str().to_string_lossy()
91-
))
92-
.count(2),
93-
);
93+
)));
9494

9595
Ok(())
9696
}

0 commit comments

Comments
 (0)