diff options
author | Linnea Gräf <nea@nea.moe> | 2025-05-10 14:22:53 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-05-10 14:22:53 +0200 |
commit | 6e06fa744d3f5f35b85ef1479b316d13413919e9 (patch) | |
tree | 8d188ac8fdaf8e6874214b3f7c7a47ab7b57e368 /src/test/kotlin/util/TextUtilText.kt | |
parent | 3cd70b1b1e262af80f48cc56c56b666d9c30a565 (diff) | |
download | Firmament-6e06fa744d3f5f35b85ef1479b316d13413919e9.tar.gz Firmament-6e06fa744d3f5f35b85ef1479b316d13413919e9.tar.bz2 Firmament-6e06fa744d3f5f35b85ef1479b316d13413919e9.zip |
Diffstat (limited to 'src/test/kotlin/util/TextUtilText.kt')
-rw-r--r-- | src/test/kotlin/util/TextUtilText.kt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/test/kotlin/util/TextUtilText.kt b/src/test/kotlin/util/TextUtilText.kt index 46ed3b4..94ab222 100644 --- a/src/test/kotlin/util/TextUtilText.kt +++ b/src/test/kotlin/util/TextUtilText.kt @@ -1,16 +1,18 @@ package moe.nea.firmament.test.util -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.getLegacyFormatString -class TextUtilText : AnnotationSpec() { +class TextUtilText { @Test fun testThing() { // TODO: add more tests that are directly validated with 1.8.9 code val text = ItemResources.loadText("all-chat") - Assertions.assertEquals("§r§r§8[§r§9302§r§8] §r§6♫ §r§b[MVP§r§d+§r§b] lrg89§r§f: test§r", - text.getLegacyFormatString()) + Assertions.assertEquals( + "§r§r§8[§r§9302§r§8] §r§6♫ §r§b[MVP§r§d+§r§b] lrg89§r§f: test§r", + text.getLegacyFormatString() + ) } } |