mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Fix test.
This commit is contained in:
parent
a3d24591d0
commit
62f656fa54
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class VerifyKobaltZipTest : KobaltTest() {
|
||||||
val stream = JarInputStream(FileInputStream(zipFilePath))
|
val stream = JarInputStream(FileInputStream(zipFilePath))
|
||||||
var entry = stream.nextEntry
|
var entry = stream.nextEntry
|
||||||
while (entry != null) {
|
while (entry != null) {
|
||||||
if (entry.name == "kobaltw") {
|
if (entry.name.endsWith("kobaltw")) {
|
||||||
foundKobaltw = true
|
foundKobaltw = true
|
||||||
} else if (entry.name.endsWith(mainJarFilePath)) {
|
} else if (entry.name.endsWith(mainJarFilePath)) {
|
||||||
val ins = zipFile.getInputStream(entry)
|
val ins = zipFile.getInputStream(entry)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue