You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce TestFailure to be Result::Err for the generated outer function of #[googletest] tests.
Previously the function generated by the `#[googletest]` macro would be `()`. This resulted in a Clippy warning that `()` did not implement `std::errror::Error`. It would also result in a slightly confusing test failure output:
```
...test assertion failure output...
Error: ()
```
The new empty struct `TestFailure` implements `std::error::Error` and displays to a more helpful message referring to the test assertion failure output above.
0 commit comments