Skip to content
Merged
Prev Previous commit
Next Next commit
refactor: use static import for assert
  • Loading branch information
zielint0 committed Oct 11, 2018
commit 06071394d0c46e350c95b70ef088555318d4c194
6 changes: 3 additions & 3 deletions src/test/java/spoon/test/intercession/IntercessionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
package spoon.test.intercession;

import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import spoon.Launcher;
Expand Down Expand Up @@ -52,6 +51,7 @@
import java.util.List;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
Expand Down Expand Up @@ -99,7 +99,7 @@ public void testInsertEnd() {
assertEquals(3, body.getStatements().size());
assertSame(returnStmt, body.getStatements().get(2));

Assert.assertNotEquals(foo, fooClone);
assertNotEquals(foo, fooClone);
}

@Test
Expand All @@ -125,7 +125,7 @@ public void testEqualConstructor() {
assertEquals(2, body.getStatements().size());

// constructor are not equals anymore
Assert.assertNotEquals(foo, fooClone);
assertNotEquals(foo, fooClone);
}

@Test
Expand Down