Add test on function name which may start or end with spaces and fix existing issues.

This commit is contained in:
Benoit Marty 2024-08-20 17:11:30 +02:00
parent 534e3a8585
commit f2b38e50e3
4 changed files with 35 additions and 3 deletions

View file

@ -495,7 +495,7 @@ class RoomListPresenterTest {
}
@Test
fun `present - when room service returns no room, then contentState is Empty `() = runTest {
fun `present - when room service returns no room, then contentState is Empty`() = runTest {
val scope = CoroutineScope(coroutineContext + SupervisorJob())
val roomListService = FakeRoomListService()
roomListService.postAllRoomsLoadingState(RoomList.LoadingState.Loaded(0))