Skip to content

Commit

Permalink
clean up DeepSearchTest
Browse files Browse the repository at this point in the history
  • Loading branch information
seelchen committed Jan 26, 2024
1 parent c78c5f2 commit 58a39d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class DeepSearchTest {

mockkObject(ListFilesCommand)
every { ListFilesCommand.listFiles(any(), any(), any(), any(), any()) } answers {
val onFileFoundCallback = it.invocation.args.last() as (HybridFileParcelable) -> Unit
val onFileFoundCallback = lastArg<(HybridFileParcelable) -> Unit>()
onFileFoundCallback(foundFileMock)
}

Expand Down

0 comments on commit 58a39d9

Please sign in to comment.