Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Jun 27, 2023
2 parents d565454 + b94a78d commit ef899c7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/test/java/io/github/eocqrs/kafka/fake/ThrowsOnFalseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ final class ThrowsOnFalseTest {
@Test
void throwsOnFalse() {
final String msg = "test message";
final String message = Assertions.assertThrows(IllegalArgumentException.class,
() -> new ThrowsOnFalse(
() -> false, msg
).value()
).getMessage();
final String message =
Assertions.assertThrows(
IllegalArgumentException.class,
() -> new ThrowsOnFalse(
() -> false, msg
).value()
).getMessage();
MatcherAssert.assertThat(
"Exception message in right format",
message,
Expand Down

0 comments on commit ef899c7

Please sign in to comment.