Function ef_tests::assert::assert_equal

source ยท
pub fn assert_equal<T>(left: T, right: T, msg: &str) -> Result<(), Error>
where T: PartialEq + Debug,
Expand description

A helper like assert_eq! that instead returns Err(Error::Assertion) on failure.