aboutsummaryrefslogtreecommitdiff
path: root/src/test/kotlin/util/skyblock
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-27 16:04:05 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-27 16:05:19 +0100
commitee0526ac67e093f77d17747d9316765b2db272a2 (patch)
tree1e2f8a26475afcc8c0d36b85068e1a2b282410ab /src/test/kotlin/util/skyblock
parent9df1f12970dafdbf4cb13c76c1df1caed66f4a59 (diff)
downloadFirmament-ee0526ac67e093f77d17747d9316765b2db272a2.tar.gz
Firmament-ee0526ac67e093f77d17747d9316765b2db272a2.tar.bz2
Firmament-ee0526ac67e093f77d17747d9316765b2db272a2.zip
test: Use kotest
Diffstat (limited to 'src/test/kotlin/util/skyblock')
-rw-r--r--src/test/kotlin/util/skyblock/AbilityUtilsTest.kt3
-rw-r--r--src/test/kotlin/util/skyblock/SackUtilTest.kt3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/test/kotlin/util/skyblock/AbilityUtilsTest.kt b/src/test/kotlin/util/skyblock/AbilityUtilsTest.kt
index abe739d..dbce762 100644
--- a/src/test/kotlin/util/skyblock/AbilityUtilsTest.kt
+++ b/src/test/kotlin/util/skyblock/AbilityUtilsTest.kt
@@ -1,5 +1,6 @@
package moe.nea.firmament.test.util.skyblock
+import io.kotest.core.spec.style.AnnotationSpec
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
import kotlin.time.Duration.Companion.minutes
@@ -9,7 +10,7 @@ import moe.nea.firmament.test.testutil.ItemResources
import moe.nea.firmament.util.skyblock.AbilityUtils
import moe.nea.firmament.util.unformattedString
-class AbilityUtilsTest {
+class AbilityUtilsTest : AnnotationSpec() {
fun List<AbilityUtils.ItemAbility>.stripDescriptions() = map {
it.copy(descriptionLines = it.descriptionLines.map { Text.literal(it.unformattedString) })
diff --git a/src/test/kotlin/util/skyblock/SackUtilTest.kt b/src/test/kotlin/util/skyblock/SackUtilTest.kt
index e0e3e63..e1b106e 100644
--- a/src/test/kotlin/util/skyblock/SackUtilTest.kt
+++ b/src/test/kotlin/util/skyblock/SackUtilTest.kt
@@ -1,12 +1,13 @@
package moe.nea.firmament.test.util.skyblock
+import io.kotest.core.spec.style.AnnotationSpec
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
import moe.nea.firmament.test.testutil.ItemResources
import moe.nea.firmament.util.skyblock.SackUtil
import moe.nea.firmament.util.skyblock.SkyBlockItems
-class SackUtilTest {
+class SackUtilTest : AnnotationSpec() {
@Test
fun testOneRottenFlesh() {
Assertions.assertEquals(