Skip to content

Commit 6b9978c

Browse files
authored
Merge pull request #216 from dtolnay/ensuretest
Update ensure tests to nightly-2022-01-02
2 parents 2342773 + 703182a commit 6b9978c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ensure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ fn test_pat() {
614614
let test = || Ok(ensure!(if let -1..=1 = 0 { 0 } else { 1 } == 1));
615615
assert_err(
616616
test,
617-
"Condition failed: `if let -1 ..=1 = 0 { 0 } else { 1 } == 1` (0 vs 1)", // FIXME
617+
"Condition failed: `if let -1..=1 = 0 { 0 } else { 1 } == 1` (0 vs 1)",
618618
);
619619

620620
let test = || Ok(ensure!(if let &0 = &0 { 0 } else { 1 } == 1));

0 commit comments

Comments
 (0)