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
* `shouldApplyAnUncheckedFunctionThatThrows` always passed, when
removing the `throw new Error()` because the failed asserting was
immediately caught.
```java
final Runnable runnable = CheckedRunnable.of(() -> { /*throw new Error();*/ }).unchecked(); // Test would still pass
```
Fixed by using `assertThrows` from JUnit
----
backport of: #2954
Co-authored-by: Boris van Katwijk <[email protected]>
0 commit comments