mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 03:38:23 +00:00
test(commons): drop commas from three commonTest names that break the iOS test compile
Kotlin/Native rejects backtick identifiers containing "," ("Name contains
illegal characters"), so `:commons:compileTestKotlinIosSimulatorArm64` has
failed since #4059 moved these relay-group tests from the app's JVM-only
test set into commonTest. JVM never minded, which is why the pre-push hook
stayed green. Reworded the three names; behaviour unchanged.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J836W9ZjSUJUQ1d23TpiJo
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ class FilterRelayGroupsByAuthorsTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `builds the author-signed and p-tagged roster filters, authors sorted`() {
|
||||
fun `builds the author-signed and p-tagged roster filters with authors sorted`() {
|
||||
val filters = filterRelayGroupsByAuthors(relayA, setOf(f2, f1), since = 7L, cachedChannels = emptyList())
|
||||
assertEquals(2, filters.size)
|
||||
|
||||
|
||||
+2
-2
@@ -73,7 +73,7 @@ class RelayGroupFilterBuildersTest {
|
||||
// --- State (always-on): one #d filter per host relay, batching that relay's group ids ---
|
||||
|
||||
@Test
|
||||
fun `state batches d-filters per host relay, metadata and pins kept apart`() {
|
||||
fun `state batches d-filters per host relay with metadata and pins kept apart`() {
|
||||
val filters = buildRelayGroupStateFilters(joined) { null }
|
||||
// two relays x (metadata + pins)
|
||||
assertEquals(4, filters.size)
|
||||
@@ -225,7 +225,7 @@ class RelayGroupFilterBuildersTest {
|
||||
// --- Open chat history (backward pager): only armed relays, each at its own until, all authors ---
|
||||
|
||||
@Test
|
||||
fun `history emits only armed relays at their until, all authors`() {
|
||||
fun `history emits only armed relays at their until for all authors`() {
|
||||
val untilByRelay = mapOf(relayA to 200L) // relayB not armed → no cursor
|
||||
val filters = buildRelayGroupHistoryFilters(g1OnA, listOf(relayA, relayB), { untilByRelay[it] }, 50)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user