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
14
15
error[E0277]: the `?` operator can only be applied to values that implement `Try`
 --> tests/fail/expr/try.rs:2:25
  |
2 |     one_assert::assert!(true?);
  |                         ^^^^^ the `?` operator cannot be applied to type `bool`
  |
  = help: the trait `Try` is not implemented for `bool`

error[E0308]: `?` operator has incompatible types
 --> tests/fail/expr/try.rs:3:25
  |
3 |     one_assert::assert!(Ok(1)?);
  |                         ^^^^^^ expected `bool`, found integer
  |
  = note: `?` operator cannot convert from `{integer}` to `bool`