Permalink
Browse files

Merge pull request #178 from abyx/master

Simple removal of (seemingly) redundant asserts
  • Loading branch information...
dsaff committed Feb 16, 2012
2 parents 4f92c3c + 10389dd commit db9a456f1cff2de765b0dd979bca020636dc88d0
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/test/java/org/junit/tests/experimental/categories/CategoryTest.java
@@ -100,7 +100,6 @@ public void testCount() {
@Test
public void testCountOnAWithoutSlowTests() {
Result result= JUnitCore.runClasses(SomeAreSlowSuite.class);
- assertThat(testResult(SomeAreSlowSuite.class), isSuccessful());
assertEquals(2, result.getRunCount());
assertTrue(result.wasSuccessful());
}
@@ -115,7 +114,6 @@ public void testCountOnAWithoutSlowTests() {
@Test
public void testsThatAreBothIncludedAndExcludedAreExcluded() {
Result result= JUnitCore.runClasses(IncludeAndExcludeSuite.class);
- assertThat(testResult(SomeAreSlowSuite.class), isSuccessful());
assertEquals(1, result.getRunCount());
assertTrue(result.wasSuccessful());
}

0 comments on commit db9a456

Please sign in to comment.