speculoos icon indicating copy to clipboard operation
speculoos copied to clipboard

Add `pretty_assertion` cargo feature

Open oknozor opened this issue 2 years ago • 1 comments

The pretty assertion crate is helpful when dealing with large text assertions.

The current assert_that implementation panic on failed assertions so it's not compatible with pretty_assertion out of the box.

Maybe we could tweak assert_that so it uses assert_eq instead of panic so we can add pretty_assertions as a cargo feature.

oknozor avatar Nov 06 '21 09:11 oknozor