Skip to content

Commit

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

let test = || Ok(ensure!(if let ::std::marker::PhantomData = p {} != ()));
Expand Down

0 comments on commit dc087bc

Please sign in to comment.