remove blank lines for resolve spotless error

pull/1585/head
saeedishayan76 2 months ago
parent 0356b873e9
commit 26dd4424f6

@ -71,7 +71,6 @@ class BookmarksViewModelTest {
val item = viewModel.feedUiState.value
assertIs<Success>(item)
assertEquals(item.feed.size, 1)
}
@Test
@ -87,6 +86,5 @@ class BookmarksViewModelTest {
val item = viewModel.feedUiState.value
assertIs<Success>(item)
assertEquals(item.feed.size, 0)
}
}

@ -108,7 +108,6 @@ class ForYouViewModelTest {
viewModel.onboardingUiState.value,
)
assertEquals(NewsFeedUiState.Loading, viewModel.feedState.value)
}
@Test
@ -121,7 +120,6 @@ class ForYouViewModelTest {
true,
viewModel.isSyncing.value,
)
}
@Test
@ -140,7 +138,6 @@ class ForYouViewModelTest {
@Test
fun onboardingIsShownWhenNewsResourcesAreLoading() = runTest {
backgroundScope.launch(UnconfinedTestDispatcher()) { viewModel.onboardingUiState.collect() }
backgroundScope.launch(UnconfinedTestDispatcher()) { viewModel.feedState.collect() }
@ -250,7 +247,6 @@ class ForYouViewModelTest {
),
viewModel.feedState.value,
)
}
@Test
@ -283,8 +279,6 @@ class ForYouViewModelTest {
),
viewModel.feedState.value,
)
}
@Test
@ -434,7 +428,6 @@ class ForYouViewModelTest {
),
viewModel.feedState.value,
)
}
@Test
@ -474,7 +467,6 @@ class ForYouViewModelTest {
),
),
)
}
@Test

@ -112,7 +112,6 @@ class InterestsViewModelTest {
),
viewModel.uiState.value,
)
}
@Test

@ -106,13 +106,11 @@ class SearchViewModelTest {
@Test
fun recentSearches_verifyUiStateIsSuccess() = runTest {
backgroundScope.launch(UnconfinedTestDispatcher()) { viewModel.recentSearchQueriesUiState.collect() }
viewModel.onSearchTriggered("kotlin")
val result = viewModel.recentSearchQueriesUiState.value
assertIs<Success>(result)
}
@Test
@ -122,7 +120,6 @@ class SearchViewModelTest {
viewModel.onSearchQueryChanged("")
assertEquals(SearchNotReady, viewModel.searchResultUiState.value)
}
@Test

@ -67,6 +67,5 @@ class SettingsViewModelTest {
),
viewModel.settingsUiState.value,
)
}
}

@ -97,7 +97,6 @@ class TopicViewModelTest {
).first()
assertEquals(topicFromRepository, item.followableTopic.topic)
}
@Test
@ -116,7 +115,6 @@ class TopicViewModelTest {
userDataRepository.setFollowedTopicIds(setOf(testInputTopics[1].topic.id))
assertEquals(TopicUiState.Loading, viewModel.topicUiState.value)
}
@Test
@ -131,7 +129,6 @@ class TopicViewModelTest {
assertIs<TopicUiState.Success>(topicUiState)
assertIs<NewsUiState.Loading>(newsUiState)
}
@Test
@ -152,7 +149,6 @@ class TopicViewModelTest {
assertIs<TopicUiState.Success>(topicUiState)
assertIs<NewsUiState.Success>(newsUiState)
}
@Test
@ -169,7 +165,6 @@ class TopicViewModelTest {
TopicUiState.Success(followableTopic = testOutputTopics[0]),
viewModel.topicUiState.value,
)
}
}

Loading…
Cancel
Save