Skip to content
Myr

Merge pull request #216 from dtolnay/ensuretest

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

Update ensure tests to nightly-2022-01-02

authored by David Tolnay · committed by GitHub · parents 2342773, 703182a · 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
612 unmodified lines
613614 let test = || Ok(ensure!(if let -1..=1 = 0 { 0 } else { 1 } == 1));615 assert_err(616 test,617 "Condition failed: `if let -1 ..=1 = 0 { 0 } else { 1 } == 1` (0 vs 1)", // FIXME617 "Condition failed: `if let -1..=1 = 0 { 0 } else { 1 } == 1` (0 vs 1)",618 );619620 let test = || Ok(ensure!(if let &0 = &0 { 0 } else { 1 } == 1));621 assert_err(
65 unmodified lines