From 5b99313ae51c3ca8d4272e9c56da29f1ec2753a8 Mon Sep 17 00:00:00 2001 From: hiroaki404 Date: Wed, 11 Dec 2024 20:03:34 +0900 Subject: [PATCH] fix typo Change-Id: I65dcde81c68c24bfd58f0b66c6ed826e802aff67 --- .../nowinandroid/feature/bookmarks/BookmarksViewModelTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/bookmarks/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/bookmarks/BookmarksViewModelTest.kt b/feature/bookmarks/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/bookmarks/BookmarksViewModelTest.kt index 48677e68d..aa42adae2 100644 --- a/feature/bookmarks/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/bookmarks/BookmarksViewModelTest.kt +++ b/feature/bookmarks/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/bookmarks/BookmarksViewModelTest.kt @@ -113,7 +113,7 @@ class BookmarksViewModelTest { @Test fun feedUiState_undoneBookmarkRemoval_bookmarkIsRestored() = runTest { - launch(UnconfinedTestDispatcher()) { viewModel.feedUiState.collect() } + backgroundScope.launch(UnconfinedTestDispatcher()) { viewModel.feedUiState.collect() } // Given newsRepository.sendNewsResources(newsResourcesTestData)