File tree 1 file changed +3
-2
lines changed
src/test/java/org/junit/tests/experimental/rules
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ public static Collection<Object[]> testsWithEventMatcher() {
72
72
hasSingleAssumptionFailure ()},
73
73
{ThrowExpectedAssertionError .class , everyTestRunSuccessful ()},
74
74
{
75
- DontThrowAssertionErrorButExpectOne .class ,
76
- hasSingleFailureWithMessage ("Expected test to throw an instance of java.lang.AssertionError" )},
75
+ DontThrowAssertionErrorButExpectOne .class ,
76
+ hasSingleFailureWithMessage ("Expected test to throw an instance of java.lang.AssertionError" )},
77
77
{
78
78
ThrowUnexpectedAssertionError .class ,
79
79
hasSingleFailureWithMessage (startsWith ("\n Expected: an instance of java.lang.NullPointerException" ))},
@@ -291,6 +291,7 @@ public void wrongException() {
291
291
throw new AssertionError ("the expected assertion error" );
292
292
}
293
293
}
294
+
294
295
public static class DontThrowAssertionErrorButExpectOne {
295
296
@ Rule
296
297
public ExpectedException thrown = none ();
You can’t perform that action at this time.
0 commit comments