From 134f87d4fe2b4a9cecd0aa4d085c30969d696c49 Mon Sep 17 00:00:00 2001 From: matt-ramotar Date: Sun, 17 Nov 2024 14:21:01 -0500 Subject: [PATCH] Delete AssertEmitsExactly.kt Signed-off-by: matt-ramotar --- .../store/store5/util/AssertEmitsExactly.kt | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/util/AssertEmitsExactly.kt diff --git a/store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/util/AssertEmitsExactly.kt b/store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/util/AssertEmitsExactly.kt deleted file mode 100644 index c6572c9dc..000000000 --- a/store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/util/AssertEmitsExactly.kt +++ /dev/null @@ -1,14 +0,0 @@ -package org.mobilenativefoundation.store.store5.util - -import kotlinx.coroutines.flow.Flow -import kotlinx.coroutines.flow.take -import kotlinx.coroutines.flow.toList -import kotlin.test.assertEquals - -suspend inline fun assertEmitsExactly( - actual: Flow, - expected: List, -) { - val flow = actual.take(expected.size).toList() - assertEquals(expected, flow) -}