Skip to content

Commit

Permalink
added missing assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Kaufmann committed Apr 9, 2018
1 parent c5314d0 commit e133c00
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public void testIgnoredClass()
// no method should be invoked in an ignored class
Result result = JUnitCore.runClasses(IgnoredClass.class);

Assert.assertTrue(result.wasSuccessful());
Assert.assertEquals(0, result.getRunCount());
Assert.assertEquals(0, result.getFailureCount());
Assert.assertEquals(1, result.getIgnoreCount());
Expand Down

0 comments on commit e133c00

Please sign in to comment.