Ensure that we can "not filter" the rooms.
This commit is contained in:
parent
1444436d3e
commit
8005fa6f91
2 changed files with 8 additions and 0 deletions
|
|
@ -136,4 +136,10 @@ class RoomListFilterTest {
|
|||
)
|
||||
assertThat(roomSummaries.filter(filter)).isEmpty()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `Room list filter all with empty list`() = runTest {
|
||||
val filter = RoomListFilter.all()
|
||||
assertThat(roomSummaries.filter(filter)).isEqualTo(roomSummaries)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue