Skip to content

Commit

Permalink
(squash) Review Comment
Browse files Browse the repository at this point in the history
Co-authored-by: Evgeny Mandrikov <138671+Godin@users.noreply.github.com>
  • Loading branch information
marchof and Godin committed Feb 2, 2022
1 parent 1a35c5d commit cdff99d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void assertException(final Class<? extends Throwable> exceptionType,
public void assertException(final Class<? extends Throwable> exceptionType,
final String message, final Class<? extends Throwable> causeType) {
assertEquals(exceptionType, this.exceptionType);
assertTrue(this.message, this.message.startsWith(message));
assertEquals(message, this.message);
assertEquals(causeType, this.causeType);
}

Expand Down

0 comments on commit cdff99d

Please sign in to comment.