str_assert
Ideal for figuring out what part of a large string is causing tests to fail.
Thin wrapper around the stdlib assert_eq
and assert_ne
but using dissimilar
for comparison
For example
Will panic with the message
assertion failed: `(left == right)`
diff: [
Equal("Lorem ipsum doler"),
Delete("e"),
Equal("t"),
]: Error