Skip to content

Commit

Permalink
Update ensure tests to nightly-2021-12-30
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 30, 2021
1 parent f871e2f commit 8b029fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ensure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ fn test_as() {
let test = || Ok(ensure!(f as for<'a> fn() as usize * 0 != 0));
assert_err(
test,
"Condition failed: `f as for<'a>fn() as usize * 0 != 0` (0 vs 0)", // FIXME
"Condition failed: `f as for<'a> fn() as usize * 0 != 0` (0 vs 0)",
);

let test = || Ok(ensure!(f as unsafe fn() as usize * 0 != 0));
Expand Down

0 comments on commit 8b029fc

Please sign in to comment.