Skip to content

Commit 73c204d

Browse files
committed
Add workaround for K/N bug
1 parent c6da46d commit 73c204d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/common/test/flow/FlowInvariantsTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class FlowInvariantsTest : TestBase() {
267267
return result
268268
}
269269

270-
val result = runSuspendFun(::collector)
270+
val result = runSuspendFun { collector() }
271271
assertEquals(2, result)
272272
finish(3)
273273
}

0 commit comments

Comments
 (0)