Fix: Spotless

Change-Id: If3ee12b2a4ddb3baec0e4e990b721526104dbc99
pull/1359/head
sangyoon 4 weeks ago
parent 9a65b90048
commit 7efcd8f7c1

@ -19,7 +19,6 @@ package com.google.samples.apps.nowinandroid.core.domain
import com.google.samples.apps.nowinandroid.core.testing.repository.TestRecentSearchRepository
import com.google.samples.apps.nowinandroid.core.testing.util.MainDispatcherRule
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.test.advanceUntilIdle
import kotlinx.coroutines.test.runTest
import org.junit.Rule
import org.junit.Test

@ -28,7 +28,7 @@ class TestRecentSearchRepository : RecentSearchRepository {
private val cachedRecentSearches = MutableSharedFlow<MutableList<RecentSearchQuery>>(
replay = 1,
onBufferOverflow = BufferOverflow.DROP_OLDEST
onBufferOverflow = BufferOverflow.DROP_OLDEST,
).apply { tryEmit(mutableListOf()) }
override fun getRecentSearchQueries(limit: Int): Flow<List<RecentSearchQuery>> =

Loading…
Cancel
Save