From ccf60dca6c6ade65898b85e52c7ee328ebcd0105 Mon Sep 17 00:00:00 2001 From: Caren Chang Date: Fri, 23 Sep 2022 15:38:58 -0700 Subject: [PATCH] Fix indents --- .../feature/topic/TopicScreenTest.kt | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/feature/topic/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/topic/TopicScreenTest.kt b/feature/topic/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/topic/TopicScreenTest.kt index f5535e532..35a5964ce 100644 --- a/feature/topic/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/topic/TopicScreenTest.kt +++ b/feature/topic/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/topic/TopicScreenTest.kt @@ -99,12 +99,13 @@ class TopicScreenTest { composeTestRule.setContent { TopicScreen( topicState = TopicUiState.Loading, - newsUiState = NewsUiState.Success(sampleNewsResources.mapIndexed { index, newsResource -> - SaveableNewsResource( - newsResource = newsResource, - isSaved = index % 2 == 0, - ) - }), + newsUiState = NewsUiState.Success( + sampleNewsResources.mapIndexed { index, newsResource -> + SaveableNewsResource( + newsResource = newsResource, + isSaved = index % 2 == 0, + ) + }), onBackClick = { }, onFollowClick = { }, onBookmarkChanged = { _, _ -> }, @@ -123,12 +124,13 @@ class TopicScreenTest { composeTestRule.setContent { TopicScreen( topicState = TopicUiState.Success(testTopic), - newsUiState = NewsUiState.Success(sampleNewsResources.mapIndexed { index, newsResource -> - SaveableNewsResource( - newsResource = newsResource, - isSaved = index % 2 == 0, - ) - }), + newsUiState = NewsUiState.Success( + sampleNewsResources.mapIndexed { index, newsResource -> + SaveableNewsResource( + newsResource = newsResource, + isSaved = index % 2 == 0, + ) + }), onBackClick = { }, onFollowClick = { }, onBookmarkChanged = { _, _ -> },