File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
krpc/krpc-test/src/jvmMain/kotlin/kotlinx/rpc/krpc/test Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ class KrpcTestServiceBackend(override val coroutineContext: CoroutineContext) :
2121 const val SHARED_FLOW_REPLAY = 5
2222 }
2323
24+ @Suppress(" detekt.EmptyFunctionBlock" )
2425 override suspend fun empty () {}
2526
2627 override suspend fun returnType (): String {
@@ -156,8 +157,8 @@ class KrpcTestServiceBackend(override val coroutineContext: CoroutineContext) :
156157 }
157158
158159 override suspend fun streamInStreamWithStream (payloadWithPayload : Flow <PayloadWithPayload >): Int {
159- payloadWithPayload.collectIndexed { index, it ->
160- assertContentEquals(KrpcTransportTestBase .expectedPayloadWithPayload(index), it .collect())
160+ payloadWithPayload.collectIndexed { index, payload ->
161+ assertContentEquals(KrpcTransportTestBase .expectedPayloadWithPayload(index), payload .collect())
161162 }
162163 return 5
163164 }
You can’t perform that action at this time.
0 commit comments