Skip to content

Commit c7e7978

Browse files
committed
Fix tests on rustc 1.20
rust-lang/rust#43676
1 parent 034ae0e commit c7e7978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ mod tests {
214214
}
215215

216216
#[test]
217-
#[should_panic(expected = "assertion failed: `(left == right)` (left: `11`, right: `12`): a != b")]
217+
#[should_panic(expected = "a != b")]
218218
fn multiple_failure_2() {
219219
let x = Arc::new(Mutex::new(0));
220220
let a = 11;

0 commit comments

Comments
 (0)