diff options
author | Linnea Gräf <nea@nea.moe> | 2024-11-27 16:04:05 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-11-27 16:05:19 +0100 |
commit | ee0526ac67e093f77d17747d9316765b2db272a2 (patch) | |
tree | 1e2f8a26475afcc8c0d36b85068e1a2b282410ab /src/test/kotlin/util/skyblock/AbilityUtilsTest.kt | |
parent | 9df1f12970dafdbf4cb13c76c1df1caed66f4a59 (diff) | |
download | Firmament-ee0526ac67e093f77d17747d9316765b2db272a2.tar.gz Firmament-ee0526ac67e093f77d17747d9316765b2db272a2.tar.bz2 Firmament-ee0526ac67e093f77d17747d9316765b2db272a2.zip |
test: Use kotest
Diffstat (limited to 'src/test/kotlin/util/skyblock/AbilityUtilsTest.kt')
-rw-r--r-- | src/test/kotlin/util/skyblock/AbilityUtilsTest.kt | 3 |
1 files changed, 2 insertions, 1 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) }) |