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

Fix issue #480 by widening the allowed types for lenient().whenever() #485

Merged
merged 1 commit into from Jul 11, 2023

Conversation

hunterwerlla
Copy link
Contributor

Thank you for submitting a pull request! But first:

Issue #480 is caused by constraining the type to Any. To fix this, we can update it to have no constraint like the underlying Java code

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@TimvdLippe TimvdLippe merged commit d92b616 into mockito:main Jul 11, 2023
6 checks passed
@hunterwerlla hunterwerlla deleted the lenientTypeIssues branch July 11, 2023 13:39
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 this pull request may close these issues.

None yet

2 participants