diff --git a/pmd-fortran/pom.xml b/pmd-fortran/pom.xml index 4c3371d21c..5aa05f62c3 100644 --- a/pmd-fortran/pom.xml +++ b/pmd-fortran/pom.xml @@ -31,8 +31,8 @@ - junit - junit + org.junit.jupiter + junit-jupiter test diff --git a/pmd-fortran/src/test/java/net/sourceforge/pmd/cpd/FortranTokenizerTest.java b/pmd-fortran/src/test/java/net/sourceforge/pmd/cpd/FortranTokenizerTest.java index 2346ac13ee..c07b363a0a 100644 --- a/pmd-fortran/src/test/java/net/sourceforge/pmd/cpd/FortranTokenizerTest.java +++ b/pmd-fortran/src/test/java/net/sourceforge/pmd/cpd/FortranTokenizerTest.java @@ -6,7 +6,7 @@ package net.sourceforge.pmd.cpd; import java.util.Properties; -import org.junit.Test; +import org.junit.jupiter.api.Test; import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest; @@ -14,9 +14,9 @@ import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest; * @author rpelisse * */ -public class FortranTokenizerTest extends CpdTextComparisonTest { +class FortranTokenizerTest extends CpdTextComparisonTest { - public FortranTokenizerTest() { + FortranTokenizerTest() { super(".for"); } @@ -31,7 +31,7 @@ public class FortranTokenizerTest extends CpdTextComparisonTest { } @Test - public void testSample() { + void testSample() { doTest("sample"); } }