Skip to content

Commit 7d0c99e

Browse files
committed
Test fix
Signed-off-by: Marcin Kuszczak <1508798+aartiPl@users.noreply.github.com>
1 parent b929746 commit 7d0c99e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/kotlin/io/github/kscripting/kscript/util/FileUtilsTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ class FileUtilsTest {
5252

5353
@Test
5454
fun `Assert that getArtifactsRecursively finds all the artifacts in the path`() {
55-
val artifactsPath = OsPath.createOrThrow(OsType.native, "test/resources/config/jarfiles/")
55+
val artifactsPath = OsPath.createOrThrow(OsType.native, "test/resources/config/jars/")
5656

5757
assertThat(FileUtils.getArtifactsRecursively(artifactsPath)).transform {
58-
it.map { it.stringPath().substringAfterLast("jarfiles").replace("\\", "/") }
58+
it.map { it.stringPath().substringAfterLast("jars").replace("\\", "/") }
5959
}.isEqualTo(listOf("/jar_file_1.jar", "/subdir/jar_file_2.jar"))
6060
}
6161
}

0 commit comments

Comments
 (0)