Skip to content

Commit

Permalink
Merge pull request junit-team#178 from abyx/master
Browse files Browse the repository at this point in the history
Simple removal of (seemingly) redundant asserts
  • Loading branch information
dsaff committed Feb 16, 2012
2 parents 4f92c3c + 10389dd commit db9a456
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ public static class SomeAreSlowSuite {
@Test
public void testCountOnAWithoutSlowTests() {
Result result= JUnitCore.runClasses(SomeAreSlowSuite.class);
assertThat(testResult(SomeAreSlowSuite.class), isSuccessful());
assertEquals(2, result.getRunCount());
assertTrue(result.wasSuccessful());
}
Expand All @@ -115,7 +114,6 @@ public static class IncludeAndExcludeSuite {
@Test
public void testsThatAreBothIncludedAndExcludedAreExcluded() {
Result result= JUnitCore.runClasses(IncludeAndExcludeSuite.class);
assertThat(testResult(SomeAreSlowSuite.class), isSuccessful());
assertEquals(1, result.getRunCount());
assertTrue(result.wasSuccessful());
}
Expand Down

0 comments on commit db9a456

Please sign in to comment.