File tree 1 file changed +3
-3
lines changed
src/test/java/org/junit/rules
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public static Object[][] testsWithEventMatcher() {
36
36
hasNumberOfFailures (2 )},
37
37
{
38
38
AddInternalAssumptionViolatedException .class ,
39
- hasSingleFailure ()},
39
+ allOf ( hasSingleFailure (), hasNoAssumptionFailure () )},
40
40
{
41
41
CheckMatcherThatDoesNotFailWithoutProvidedReason .class ,
42
42
everyTestRunSuccessful ()},
@@ -65,10 +65,10 @@ public static Object[][] testsWithEventMatcher() {
65
65
hasNumberOfFailures (2 )},
66
66
{
67
67
CheckCallableThatThrowsInternalAssumptionViolatedException .class ,
68
- hasSingleFailure ()},
68
+ allOf ( hasSingleFailure (), hasNoAssumptionFailure () )},
69
69
{
70
70
CheckCallableWithFailingAssumption .class ,
71
- hasSingleFailure ()},
71
+ allOf ( hasSingleFailure (), hasNoAssumptionFailure () )},
72
72
{
73
73
CheckCallableThatDoesNotThrowAnException .class ,
74
74
everyTestRunSuccessful ()},
You can’t perform that action at this time.
0 commit comments