Skip to content

Commit 5b99313

Browse files
committed
fix typo
Change-Id: I65dcde81c68c24bfd58f0b66c6ed826e802aff67
1 parent 8bb823e commit 5b99313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feature/bookmarks/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/bookmarks/BookmarksViewModelTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class BookmarksViewModelTest {
113113

114114
@Test
115115
fun feedUiState_undoneBookmarkRemoval_bookmarkIsRestored() = runTest {
116-
launch(UnconfinedTestDispatcher()) { viewModel.feedUiState.collect() }
116+
backgroundScope.launch(UnconfinedTestDispatcher()) { viewModel.feedUiState.collect() }
117117

118118
// Given
119119
newsRepository.sendNewsResources(newsResourcesTestData)

0 commit comments

Comments
 (0)