From 1fd341d2088fe296e61244d24cbf72b663eff032 Mon Sep 17 00:00:00 2001 From: Jaehwa Noh Date: Wed, 6 Mar 2024 08:42:43 +0900 Subject: [PATCH] Change name to searchTextWithThreeSpaces_isEmptyQuery() Co-authored-by: Don Turner --- .../apps/nowinandroid/feature/search/SearchViewModelTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/search/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/search/SearchViewModelTest.kt b/feature/search/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/search/SearchViewModelTest.kt index e680c4fa4..d365959cd 100644 --- a/feature/search/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/search/SearchViewModelTest.kt +++ b/feature/search/src/test/kotlin/com/google/samples/apps/nowinandroid/feature/search/SearchViewModelTest.kt @@ -143,7 +143,7 @@ class SearchViewModelTest { } @Test - fun stateIsEmptyQuery_withThreeWhiteSpacesSearchQuery() = runTest { + fun searchTextWithThreeSpaces_isEmptyQuery() = runTest { searchContentsRepository.addNewsResources(newsResourcesTestData) searchContentsRepository.addTopics(topicsTestData) val collectJob = launch(UnconfinedTestDispatcher()) { viewModel.searchResultUiState.collect() }