Skip to main content

expect

expect() -> AlephExpectation

Creates an expectation for use inside Aleph tests.

Returns

An AlephExpectation that can be followed by .not and a matcher call.

Example


test "addition" {
expect(1 + 1).to_equal(2)
}