Skip to content

Commit

Permalink
sobbign
Browse files Browse the repository at this point in the history
  • Loading branch information
sschr15 committed Sep 25, 2023
1 parent 3bddad9 commit b4c6ab4
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions module-log-parser/src/test/kotlin/LogParseTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,19 @@ class LogParseTests {
}

@Test
fun `Test Quilt crash log`(): Unit = runBlocking {
fun `Test Quilt crash log`() {
if (System.getenv("CI") != null) {
logger.error { "Weird bug with CI testing, please notify if reproducible" }
return@runBlocking
return
}

val file = ClassLoader.getSystemResource("quilt-crash.txt")
val log = loadLog(file)
runBlocking {
val file = ClassLoader.getSystemResource("quilt-crash.txt")
val log = loadLog(file)

assertEquals(167, log.getMods().size)
assertEquals(Version("1.19.3"), log.minecraftVersion)
assertEquals(mapOf(LoaderType.Quilt to Version("0.18.10")), log.getLoaders())
assertEquals(167, log.getMods().size)
assertEquals(Version("1.19.3"), log.minecraftVersion)
assertEquals(mapOf(LoaderType.Quilt to Version("0.18.10")), log.getLoaders())
}
}
}

0 comments on commit b4c6ab4

Please sign in to comment.