Skip to content
Myr

Update ensure tests to nightly-2022-02-07

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 7290028 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:tests/test_ensure.rs+1 added-1 removed
394 unmodified lines
395396 let test = || Ok(ensure!(PhantomData::<u8> {} != PhantomData));397 assert_err(398 test,399 "Condition failed: `PhantomData::<u8>{} != PhantomData` (PhantomData vs PhantomData)",399 "Condition failed: `PhantomData::<u8> {} != PhantomData` (PhantomData vs PhantomData)",400 );401402 let result = Ok::<_, Error>(1);403 let test = || Ok(ensure!(result? == 2));
283 unmodified lines