Fix "Arrow is redundant when parameter list is empty"
And other issues that ktlint now reports
This commit is contained in:
parent
ea616be814
commit
eef0fbf4be
10 changed files with 41 additions and 29 deletions
|
|
@ -105,9 +105,7 @@ class RoomDirectoryPresenterTest {
|
|||
|
||||
@Test
|
||||
fun `present - emit load more event`() = runTest {
|
||||
val loadMoreLambda = lambdaRecorder { ->
|
||||
Result.success(Unit)
|
||||
}
|
||||
val loadMoreLambda = lambdaRecorder<Result<Unit>> { Result.success(Unit) }
|
||||
val roomDirectoryList = FakeRoomDirectoryList(loadMoreLambda = loadMoreLambda)
|
||||
val roomDirectoryService = FakeRoomDirectoryService { roomDirectoryList }
|
||||
val presenter = createRoomDirectoryPresenter(roomDirectoryService = roomDirectoryService)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue