Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Dec 15, 2018
1 parent 2b3f02f commit 7bc6ecb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static Condition<TestExecutionResult> throwable(Condition<? super Throwab
* supplied {@code Condition}.
*/
public static Condition<Throwable> cause(Condition<Throwable> condition) {
return new Condition<>(throwable -> condition.matches(throwable.getCause()), "nested throwable matches %s",
return new Condition<>(throwable -> condition.matches(throwable.getCause()), "throwable cause matches %s",
condition);
}

Expand Down

0 comments on commit 7bc6ecb

Please sign in to comment.