1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 16:28:12 -07:00

Fix test.

This commit is contained in:
Cedric Beust 2016-01-02 10:43:24 -08:00
parent 66ddbb56ba
commit d139fcf17b

View file

@ -13,6 +13,8 @@ class JarUtilsTest @Inject constructor() {
listOf(IFileSpec.FileSpec("com/beust/kobalt/wrapper/Main.class")))
val files = inf.allFromFiles("modules/wrapper")
println("Files: $files")
Assert.assertEquals(files[0].path, "modules/wrapper/kobaltBuild/classes/com/beust/kobalt/wrapper/Main.class")
val actual = files[0].path.replace("\\", "/")
Assert.assertEquals(actual,
"com/beust/kobalt/wrapper/Main.class")
}
}