Skip to content

Commit

Permalink
Merge pull request #215 from dtolnay/ensuretest
Browse files Browse the repository at this point in the history
Update ensure tests to nightly-2021-12-30
  • Loading branch information
dtolnay authored Dec 30, 2021
2 parents f871e2f + 8b029fc commit 2c2568a
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 2c2568a

Please sign in to comment.