Fix formatting

Change-Id: I674d32bc0f1921c431717dbf0f41a74f632322b3
pull/1210/head
Don Turner 10 months ago
parent 254b464259
commit 2ad48843f6

@ -174,12 +174,11 @@ class BookmarksScreenTest {
@Test
fun feed_whenLifecycleStops_undoBookmarkedStateIsCleared() = runTest {
var undoStateCleared = false
val testLifecycleOwner = TestLifecycleOwner(initialState = Lifecycle.State.STARTED)
composeTestRule.setContent {
CompositionLocalProvider(LocalLifecycleOwner provides testLifecycleOwner){
CompositionLocalProvider(LocalLifecycleOwner provides testLifecycleOwner) {
BookmarksScreen(
feedState = NewsFeedUiState.Success(emptyList()),
onShowSnackbar = { _, _ -> false },
@ -188,7 +187,7 @@ class BookmarksScreenTest {
onNewsResourceViewed = {},
clearUndoState = {
undoStateCleared = true
}
},
)
}
}

Loading…
Cancel
Save