Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing !! on after() #348

Closed
xgleich1 opened this issue Jun 26, 2019 · 1 comment · Fixed by #351
Closed

Missing !! on after() #348

xgleich1 opened this issue Jun 26, 2019 · 1 comment · Fixed by #351

Comments

@xgleich1
Copy link

Hi and first of all a huge thanks for your library!

While using it to test asynchronous code I found a minor oversight:

fun after(millis: Long): VerificationAfterDelay? {
return Mockito.after(millis)
}

The return type is nullable. This gives me an compile error when using it in verify().

Or is this maybe intented?

Kind regards
Daniel

@xgleich1
Copy link
Author

Huge thanks for fixing this issue very quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant