rxpect

Function expect

Source
pub fn expect<'e, T: Debug>(value: T) -> RootExpectations<'e, T>
Expand description

Create expectations for a value. Used as an entrypoint for fluently building expectations

use rxpect::expect;
use rxpect::expectations::EqualityExpectations;

expect(1).to_equal(1);