A fully functional Android app built entirely with Kotlin and Jetpack Compose
Fix addNewsResources issue
Simon Marquisa83f6691c472
diff --git a/core/testing/src/main/kotlin/com/google/samples/apps/nowinandroid/core/testing/repository/TestSearchContentsRepository.kt b/core/testing/src/main/kotlin/com/google/samples/apps/nowinandroid/core/testing/repository/TestSearchContentsRepository.ktindex 94ef2e384..4a3baba44 100644--- a/core/testing/src/main/kotlin/com/google/samples/apps/nowinandroid/core/testing/repository/TestSearchContentsRepository.kt+++ b/core/testing/src/main/kotlin/com/google/samples/apps/nowinandroid/core/testing/repository/TestSearchContentsRepository.kt@@ -55,5 +55,5 @@ class TestSearchContentsRepository : SearchContentsRepository {* Test only method to add the news resources to the stored list in memory*/fun addNewsResources(newsResources: List<NewsResource>) =- cachedNewsResources.update { newsResources }+ cachedNewsResources.update { it + newsResources }}