[ruby] Migrate tests to JUnit5

This commit is contained in:
Andreas Dangel 2022-10-03 09:27:08 +02:00
parent f454e19ca7
commit bf8c41b06b
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3
2 changed files with 7 additions and 7 deletions

View File

@ -18,8 +18,8 @@
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>

View File

@ -6,13 +6,13 @@ 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;
public class RubyTokenizerTest extends CpdTextComparisonTest {
class RubyTokenizerTest extends CpdTextComparisonTest {
public RubyTokenizerTest() {
RubyTokenizerTest() {
super(".rb");
}
@ -28,12 +28,12 @@ public class RubyTokenizerTest extends CpdTextComparisonTest {
@Test
public void testSimple() {
void testSimple() {
doTest("server");
}
@Test
public void testTabWidth() {
void testTabWidth() {
doTest("tabWidth");
}
}