Crate testutils

Source
Expand description

Git Interactive Rebase Tool - Test Utils

§Description

To facilitate testing the usages of this project, this crate contains a set of testing utilities. These utilities are not tested, are often optimized for developer experience, rather than performance, and should only be used in test code.

Macros§

assert_empty
Asserts that expression is empty using is_empty.
assert_err_eq
Asserts that expression returns Err(E) variant and its value of E type equals to the right expression.
assert_not_empty
Asserts that expression is not empty using is_empty.
debug_assert_empty
Asserts that expression is empty using is_empty.
debug_assert_err_eq
Asserts that expression returns Err(E) variant in runtime.
debug_assert_not_empty
Asserts that expression is not empty using is_empty.