Merge pull request #3318 from element-hq/feature/bma/checkMethodName

Add test on function name which may start or end with spaces
This commit is contained in:
Benoit Marty 2024-08-21 09:25:47 +02:00 committed by GitHub
commit c01bbe79e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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))