assert2 0.4.0

assert!(...) and check!(...) macros inspired by Catch2, now with diffs!
Documentation
1
2
3
4
5
6
7
use assert2::assert;

fn main() {
	reproducible_panic::install();
	assert!(let Ok(foo) = Result::<i32, &str>::Err("Oh no!"));
	println!("foo + 1 = {}", foo + 1);
}