Polishing

This commit is contained in:
Sam Brannen
2022-08-15 19:41:54 +02:00
parent 40f9fe0874
commit c58c827291
6 changed files with 17 additions and 17 deletions

View File

@@ -69,7 +69,7 @@ class ThrowingConsumerTests {
}
@Test
void ofModifiesThrowException() {
void ofModifiesThrownException() {
ThrowingConsumer<Object> consumer = ThrowingConsumer.of(this::throwIOException,
IllegalStateException::new);
assertThatIllegalStateException().isThrownBy(