Skip to content

Commit

Permalink
removed useless addition
Browse files Browse the repository at this point in the history
  • Loading branch information
giograno committed Jan 23, 2021
1 parent 698151d commit bd19468
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/test/kotlin/testsmell/TestDetectionCorrectness.kt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class TestDetectionCorrectness {
@Test
fun `Test number of methods detected`() {
val declaration = testCompilationUnit.types[0]
Assertions.assertEquals(26, declaration.methods.size)
Assertions.assertEquals(25, declaration.methods.size)
}

private val fractionSource = """
Expand Down Expand Up @@ -2112,12 +2112,6 @@ class TestDetectionCorrectness {
assertEquals("-2147483648/2147483647", f.toString());
}
@Test
public void testNoEager() {
Fraction f;
f = Fraction.getFraction(3, 5);
}
@Test
public void testToProperString() {
Fraction f;
Expand Down

0 comments on commit bd19468

Please sign in to comment.