From 5489adc95f41386fd185aa152d48b62357d7ad4a Mon Sep 17 00:00:00 2001 From: Lukas Jost Date: Sat, 17 Oct 2026 13:10:27 +0200 Subject: [PATCH] fix(chat): use the shared system message layout --- common/build.gradle.kts | 2 +- .../gg/grounds/runtime/RuntimeDiagnosticsPresenterTest.kt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 41579a4..b8d06bd 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -8,7 +8,7 @@ plugins { } dependencies { - api("gg.grounds:library-i18n:0.4.0") + api("gg.grounds:library-i18n:0.4.3") compileOnly("net.kyori:adventure-api:4.17.0") testImplementation(kotlin("test")) diff --git a/common/src/test/kotlin/gg/grounds/runtime/RuntimeDiagnosticsPresenterTest.kt b/common/src/test/kotlin/gg/grounds/runtime/RuntimeDiagnosticsPresenterTest.kt index 126b08a..921822c 100644 --- a/common/src/test/kotlin/gg/grounds/runtime/RuntimeDiagnosticsPresenterTest.kt +++ b/common/src/test/kotlin/gg/grounds/runtime/RuntimeDiagnosticsPresenterTest.kt @@ -24,10 +24,10 @@ class RuntimeDiagnosticsPresenterTest { RuntimeDiagnosticsPresenter.sendPlayer(audience, report) val messages = audience.sent.map(PlainTextComponentSerializer.plainText()::serialize) - assertEquals("[Grounds] Allgemein › Grounds-Laufzeit", messages.first()) - assertEquals("[Grounds] Allgemein › runtimeId=plugin-grounds-runtime-velocity", messages[1]) - assertEquals("[Grounds] Allgemein › Bibliotheken", messages[6]) - assertContains(messages, "[Grounds] Allgemein › - io.grpc:grpc-api:1.81.0") + assertEquals("[Grounds] Allgemein | Grounds-Laufzeit", messages.first()) + assertEquals("[Grounds] Allgemein | runtimeId=plugin-grounds-runtime-velocity", messages[1]) + assertEquals("[Grounds] Allgemein | Bibliotheken", messages[6]) + assertContains(messages, "[Grounds] Allgemein | - io.grpc:grpc-api:1.81.0") } @Test