Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Fix ktlint: max line length (100) in ForYouScreenTest.kt

madroidc4d85d07df0d
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()