Skip to content

Commit b061e12

Browse files
committed
detekt
1 parent 0e8255d commit b061e12

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

krpc/krpc-test/src/jvmMain/kotlin/kotlinx/rpc/krpc/test/KrpcTestServiceBackend.kt

+3-2
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)