We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b929746 commit 7d0c99eCopy full SHA for 7d0c99e
1 file changed
src/test/kotlin/io/github/kscripting/kscript/util/FileUtilsTest.kt
@@ -52,10 +52,10 @@ class FileUtilsTest {
52
53
@Test
54
fun `Assert that getArtifactsRecursively finds all the artifacts in the path`() {
55
- val artifactsPath = OsPath.createOrThrow(OsType.native, "test/resources/config/jarfiles/")
+ val artifactsPath = OsPath.createOrThrow(OsType.native, "test/resources/config/jars/")
56
57
assertThat(FileUtils.getArtifactsRecursively(artifactsPath)).transform {
58
- it.map { it.stringPath().substringAfterLast("jarfiles").replace("\\", "/") }
+ it.map { it.stringPath().substringAfterLast("jars").replace("\\", "/") }
59
}.isEqualTo(listOf("/jar_file_1.jar", "/subdir/jar_file_2.jar"))
60
}
61
0 commit comments