one_assert 0.2.0

One assert! to replace them all
Documentation
1
2
3
4
5
6
7
8
9
10
11
error[E0423]: expected value, found module `std::vec`
 --> tests/fail/expr/path.rs:2:25
  |
2 |     one_assert::assert!(std::vec);
  |                         ^^^^^^^^ not a value

error[E0308]: mismatched types
 --> tests/fail/expr/path.rs:3:25
  |
3 |     one_assert::assert!(std::f32::consts::PI);
  |                         ^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `f32`