Open dzirbel opened 5 days ago
coVerifyCount should allow suspending functions in its verifyBlock lambda.
coVerifyCount
verifyBlock
coVerifyCount does not allow suspending functions in its verifyBlock lambda. It has an identical definition to verifyCount:
verifyCount
fun coVerifyCount(verifyBlock: MockKCallCountCoVerificationScope.() -> Unit)
That being said, I don't understand how the test passes (or even compiles). I haven't tried to reproduce from a local checkout of mockk.
Expected Behavior
coVerifyCount
should allow suspending functions in itsverifyBlock
lambda.Current Behavior
coVerifyCount
does not allow suspending functions in itsverifyBlock
lambda. It has an identical definition toverifyCount
:That being said, I don't understand how the test passes (or even compiles). I haven't tried to reproduce from a local checkout of mockk.
Context