mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 07:57:12 -07:00
Make sure Versions.class is not in the jar file.
This commit is contained in:
parent
1d6a0ba1ca
commit
c6ce58fdbd
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ class VerifyKobaltZipTest : KobaltTest() {
|
|||
listOf("com/beust/kobalt/MainKt.class",
|
||||
"templates/kobaltPlugin/kobaltPlugin.jar", "com/beust/kobalt/Args.class",
|
||||
"com/beust/kobalt/wrapper/Main.class"),
|
||||
listOf("BuildKt.class"))
|
||||
listOf("BuildKt.class", "Versions.class"))
|
||||
}
|
||||
|
||||
private fun assertExistence(ins: InputStream,
|
||||
|
@ -95,7 +95,7 @@ class VerifyKobaltZipTest : KobaltTest() {
|
|||
foundItems.add(entryName)
|
||||
}
|
||||
|
||||
if (excluded.any { entryName.contains(it) }) {
|
||||
if (excluded.any { entryName == it }) {
|
||||
throw AssertionError(entryName + " should not be in the jar file")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue