-
Notifications
You must be signed in to change notification settings - Fork 59
Match failure with varargs and multiple parameter lists #69
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
Comments
@githorse thanks for reporting this, the issue is that the I'll publish a proper fix soon |
@bbonanno - Thanks for your prompt response! In my use case it's difficult to dispense with matching the raw values in the first parameter, so I'm hoping for a workaround here. I tried the
Am I using these correctly? I'm still seeing match failures:
|
Sorry, closed in error. |
It's a vararg, so what you want is to match for The PR is almost ready anyway, so if it's not urgent you should have the working version later today |
Ah, cool. Thanks. Yeah, I guess for the price you're charging I can probably wait a couple more hours :) |
Mocking with varargs works as expected:
So does mocking with a second parameter list:
But I can't seem to combine varargs with a second parameter list:
Instead, I get a match failure:
Is there some way to match varargs in the first parameter list while ignoring the second parameter list?
The text was updated successfully, but these errors were encountered: