one_assert 0.2.0

One assert! to replace them all
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0004]: non-exhaustive patterns: type `i32` is non-empty
 --> tests/fail/expr/match2.rs:3:31
  |
3 |     one_assert::assert!(match 0 {});
  |                               ^
  |
  = note: the matched value is of type `i32`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown
  |
3 ~     one_assert::assert!(match 0 {
4 +         _ => todo!(),
5 ~     });
  |