spotless: fix formatting violations in call lifecycle files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
davotoula
2026-04-16 19:02:23 +02:00
committed by Claude
parent 29c5c26af7
commit 3e0d79a091
9 changed files with 68 additions and 27 deletions
@@ -1167,7 +1167,12 @@ class CallManagerTest {
assertIs<CallState.Connected>(state)
assertTrue(carol in state.peerPubKeys, "Mid-call joiner must be added to peerPubKeys")
assertTrue(alice in state.peerPubKeys, "Existing peer must still be present")
val forwardedPeer = events.filterIsInstance<CallSessionEvent.AnswerReceived>().firstOrNull()?.event?.pubKey
val forwardedPeer =
events
.filterIsInstance<CallSessionEvent.AnswerReceived>()
.firstOrNull()
?.event
?.pubKey
assertEquals(carol, forwardedPeer, "Answer must still be emitted to CallSession")
job.cancel()
}
@@ -1318,7 +1323,12 @@ class CallManagerTest {
val bobAfterCarolAnswer = bobManager.state.value
assertIs<CallState.Connected>(bobAfterCarolAnswer)
assertTrue(carol in bobAfterCarolAnswer.peerPubKeys, "Bob should add Carol to his membership")
val bobForwardedAnswer = bobEvents.filterIsInstance<CallSessionEvent.AnswerReceived>().firstOrNull()?.event?.pubKey
val bobForwardedAnswer =
bobEvents
.filterIsInstance<CallSessionEvent.AnswerReceived>()
.firstOrNull()
?.event
?.pubKey
assertEquals(carol, bobForwardedAnswer, "Bob must emit Carol's answer to his CallSession")
bobJob.cancel()
}