File tree 1 file changed +3
-2
lines changed
krpc/krpc-test/src/jvmMain/kotlin/kotlinx/rpc/krpc/test
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) :
21
21
const val SHARED_FLOW_REPLAY = 5
22
22
}
23
23
24
+ @Suppress(" detekt.EmptyFunctionBlock" )
24
25
override suspend fun empty () {}
25
26
26
27
override suspend fun returnType (): String {
@@ -156,8 +157,8 @@ class KrpcTestServiceBackend(override val coroutineContext: CoroutineContext) :
156
157
}
157
158
158
159
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())
161
162
}
162
163
return 5
163
164
}
You can’t perform that action at this time.
0 commit comments