Skip to content

Commit b982b0d

Browse files
committed
Fix warning for newer rustc
1 parent 52faa4b commit b982b0d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/basic.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,11 @@ fn test_no_commit_in_range() {
145145

146146
let assertion = fixup(&td).args(&["-P", "b"]).assert().failure();
147147
let out = string(assertion.get_output().stdout.clone());
148-
assert!(out.contains("No commit contains the pattern"), out);
148+
assert!(
149+
out.contains("No commit contains the pattern"),
150+
"actual: {}",
151+
out
152+
);
149153

150154
fixup(&td).args(&["-P", "target"]).assert().success();
151155

0 commit comments

Comments
 (0)