diff --git a/src/test/java/edu/hm/hafner/util/PackageDetectorRunnerTest.java b/src/test/java/edu/hm/hafner/util/PackageDetectorRunnerTest.java index a25dbca7..b5fd7c03 100644 --- a/src/test/java/edu/hm/hafner/util/PackageDetectorRunnerTest.java +++ b/src/test/java/edu/hm/hafner/util/PackageDetectorRunnerTest.java @@ -32,7 +32,7 @@ void shouldExtractPackageNames(final String fileName, final String expectedPacka } @ParameterizedTest(name = "{index} => file={0}, no package found") - @ValueSource(strings = {"MavenJavaTest.txt", "empty.txt", "KotlinTest.txt"}) + @ValueSource(strings = {"MavenJavaTest.txt", "relative.txt", "KotlinTest.txt"}) void shouldNotAcceptFile(final String fileName) throws IOException { assertThat(detect(fileName)).isEmpty(); } diff --git a/src/test/resources/edu/hm/hafner/util/empty.txt b/src/test/resources/edu/hm/hafner/util/relative.txt similarity index 100% rename from src/test/resources/edu/hm/hafner/util/empty.txt rename to src/test/resources/edu/hm/hafner/util/relative.txt