From b08f904ff3263cf07d37da9e6472770fd502af9f Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 17 Jun 2026 22:32:00 +0000 Subject: [PATCH] test(geode): match renamed relay NAME "Geode" in NIP-11 assertion Commit 270d229d renamed the relay's RelayInfo.NAME constant from "geode" to "Geode" but left KtorRelayTest asserting the old lowercase value, failing the pre-push test gate. Align the assertion with the source constant. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01SXRAunSJS2dBx7B79qTMew --- geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt b/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt index ab13996e8b..4f3245b045 100644 --- a/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt +++ b/geode/src/test/kotlin/com/vitorpamplona/geode/KtorRelayTest.kt @@ -137,7 +137,7 @@ class KtorRelayTest { assertEquals(200, it.code) val body = it.body.string() val info = Nip11RelayInformation.fromJson(body) - assertEquals("geode", info.name) + assertEquals("Geode", info.name) assertTrue(info.supported_nips!!.contains("11"), "NIP-11 must be advertised") assertTrue(info.supported_nips!!.contains("1"), "NIP-01 must be advertised") }