Skip to content

Commit

Permalink
Update ensure tests to nightly-2022-01-02
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 2, 2022
1 parent 2342773 commit 703182a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ensure.rs
Expand Up @@ -614,7 +614,7 @@ fn test_pat() {
let test = || Ok(ensure!(if let -1..=1 = 0 { 0 } else { 1 } == 1));
assert_err(
test,
"Condition failed: `if let -1 ..=1 = 0 { 0 } else { 1 } == 1` (0 vs 1)", // FIXME
"Condition failed: `if let -1..=1 = 0 { 0 } else { 1 } == 1` (0 vs 1)",
);

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

0 comments on commit 703182a

Please sign in to comment.