-
Notifications
You must be signed in to change notification settings - Fork 202
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
#478 Upgrade Mockito #482
#478 Upgrade Mockito #482
Conversation
It's not compatible with older Mockito versions so it should be a major version release. |
Is it for #474 ? |
I just bumped Java version in CI as Mockito 5 requires Java 11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I expected more of the tests to fail on the varargs, but J barely see any breakage. Is this because Kotlin doesn't really use varargs or doesn't run into the problems Java has with it?
@lukas-krecan Can you please answer the above question? Then this is ready to merge |
Sorry, I do not understand. Which tests do you mean? |
Mockito 5 made breaking changes to varargs matchers. I expected that to have consequences for Kotlin as well. However, I see little to no changes in the regression test suite of |
I guess both. The only impacted method here is But I am a first-time contributor to this library, so taky me with a huge grain of salt. |
Just for completenes, changing the signature to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me, thanks!
No description provided.