Changes test name

This commit is contained in:
ericdecanini 2022-06-08 09:38:30 +02:00
parent d586f64338
commit 31b245b8e3

View File

@ -44,7 +44,7 @@ class DataSourceTest {
}
@Test
fun `given PublishDataSource with a large enough buffer size, when posting values after observing, then only the latest values are observed`() = runTest {
fun `given PublishDataSource with a large enough buffer size, when posting values after observing, then all values are observed`() = runTest {
val valuesToPost = listOf(2, 3, 4, 5, 6, 7, 8, 9)
val publishDataSource = PublishDataSource<Int>(bufferSize = valuesToPost.size)
publishDataSource.test(testScheduler, valuesToPost, valuesToPost)