From c4d85d07df0df593d36e09cbda6ed0676e0a4086 Mon Sep 17 00:00:00 2001 From: madroid Date: Thu, 19 May 2022 22:33:04 +0800 Subject: [PATCH] Fix ktlint: max line length (100) in ForYouScreenTest.kt --- .../feature/foryou/ForYouScreenTest.kt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/feature-foryou/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreenTest.kt b/feature-foryou/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreenTest.kt index 6210e83a1..378b05124 100644 --- a/feature-foryou/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreenTest.kt +++ b/feature-foryou/src/androidTest/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreenTest.kt @@ -92,7 +92,8 @@ class ForYouScreenTest { windowSizeClass = WindowSizeClass.calculateFromSize( DpSize(maxWidth, maxHeight) ), - interestsSelectionState = ForYouInterestsSelectionUiState.WithInterestsSelection( + interestsSelectionState = + ForYouInterestsSelectionUiState.WithInterestsSelection( topics = listOf( FollowableTopic( topic = Topic( @@ -200,7 +201,8 @@ class ForYouScreenTest { windowSizeClass = WindowSizeClass.calculateFromSize( DpSize(maxWidth, maxHeight) ), - interestsSelectionState = ForYouInterestsSelectionUiState.WithInterestsSelection( + interestsSelectionState = + ForYouInterestsSelectionUiState.WithInterestsSelection( topics = listOf( FollowableTopic( topic = Topic( @@ -314,7 +316,8 @@ class ForYouScreenTest { windowSizeClass = WindowSizeClass.calculateFromSize( DpSize(maxWidth, maxHeight) ), - interestsSelectionState = ForYouInterestsSelectionUiState.WithInterestsSelection( + interestsSelectionState = + ForYouInterestsSelectionUiState.WithInterestsSelection( topics = listOf( FollowableTopic( topic = Topic( @@ -670,7 +673,10 @@ class ForYouScreenTest { ) val firstFeedItem = composeTestRule - .onNodeWithText("Thanks for helping us reach 1M YouTube Subscribers", substring = true) + .onNodeWithText( + "Thanks for helping us reach 1M YouTube Subscribers", + substring = true + ) .assertHasClickAction() .fetchSemanticsNode()