-
Notifications
You must be signed in to change notification settings - Fork 411
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
Fixing mocks for interfaces where method returns function with variadic argument. #719
Conversation
650440b
to
4fd9909
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #719 +/- ##
===================================================
- Coverage 75.26793% 75.16447% -0.10347%
===================================================
Files 10 10
Lines 2426 2432 +6
===================================================
+ Hits 1826 1828 +2
- Misses 461 464 +3
- Partials 139 140 +1 ☔ View full report in Codecov by Sentry. |
Thank you for sending in a PR. A few questions in the comments. |
4fd9909
to
e7c0bd9
Compare
You are welcome, I answered them and just pushed the case for #431 which works with my original code |
are there plans to merge this? i am also facing an issue with variadic arguments |
I will try to fix It this week |
e7c0bd9
to
65819b9
Compare
65819b9
to
a032aa0
Compare
@LandonTClipp @egeucak I rebased and pushed with the fix we were talking about. |
Great, thank you @nicovak ! Could you add a test next to |
When will this be merged? |
We need tests for this particular case. I believe my last comment is still pending. How big of a blocker is this for you? I can probably finish it out myself. |
We have a pending PR, that we can't merge unless this is fixed. |
Okay I will just complete it tomorrow. |
I submitted the remaining fixes I wanted and assured this works correctly. Will merge in a few moments! |
Thank you @LandonTClipp , I didn't have time to work on It these days and I think I would not have been able to implement the tests quicky. |
No worries at all, we're all busy nowadays. Teamwork makes the dream work and all 😉 Thanks for the contribs! |
Description
Adding a Variadic fixtures to handle signatures with that case
Type of change
Version of Golang used when building/testing:
How Has This Been Tested?
I may need help or guidance for this one
.Checklist