Skip to content

Conversation

@m-koops
Copy link
Contributor

@m-koops m-koops commented Jan 22, 2026

Fixes #581
Supersedes and closes #580

Starting with the tests added in #580, improve Result support in matchers and captors.

Also: slightly simplify the unboxing of failures from Result in CoroutineAwareAnswer, by re-using existing function .unboxValueClass.

@TimvdLippe TimvdLippe merged commit 4d1b211 into mockito:main Jan 22, 2026
3 checks passed
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.

Regression for using eq() matcher and ArgumentCaptor with Result in 6.2.2

3 participants