Skip to content

Commit 2ad4884

Browse files
committed
Fix formatting
Change-Id: I674d32bc0f1921c431717dbf0f41a74f632322b3
1 parent 254b464 commit 2ad4884

File tree

1 file changed

+2
-3
lines changed
  • feature/bookmarks/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/feature/bookmarks

1 file changed

+2
-3
lines changed

feature/bookmarks/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/feature/bookmarks/BookmarksScreenTest.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,11 @@ class BookmarksScreenTest {
174174

175175
@Test
176176
fun feed_whenLifecycleStops_undoBookmarkedStateIsCleared() = runTest {
177-
178177
var undoStateCleared = false
179178
val testLifecycleOwner = TestLifecycleOwner(initialState = Lifecycle.State.STARTED)
180179

181180
composeTestRule.setContent {
182-
CompositionLocalProvider(LocalLifecycleOwner provides testLifecycleOwner){
181+
CompositionLocalProvider(LocalLifecycleOwner provides testLifecycleOwner) {
183182
BookmarksScreen(
184183
feedState = NewsFeedUiState.Success(emptyList()),
185184
onShowSnackbar = { _, _ -> false },
@@ -188,7 +187,7 @@ class BookmarksScreenTest {
188187
onNewsResourceViewed = {},
189188
clearUndoState = {
190189
undoStateCleared = true
191-
}
190+
},
192191
)
193192
}
194193
}

0 commit comments

Comments
 (0)