From d252d2a72d39551a8c292ccc672e41320b59c5f3 Mon Sep 17 00:00:00 2001 From: dajiaohuang Date: Sat, 5 Sep 2026 17:31:17 +0800 Subject: [PATCH] Fix the assertion receiver in the testIn README example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ae9dbc..b9ca255 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ The same goes for `testIn`, but at the end of the calling coroutine: runTest { turbineScope { val turbine = flowOf("one", "two").testIn(backgroundScope) - turbine.assertEquals("one", awaitItem()) + assertEquals("one", turbine.awaitItem()) } } ```