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

Support AnyTimes call in mock #1372

Open
qingwave opened this issue Apr 11, 2023 · 1 comment
Open

Support AnyTimes call in mock #1372

qingwave opened this issue Apr 11, 2023 · 1 comment
Labels
enhancement pkg-mock Any issues related to Mock

Comments

@qingwave
Copy link

qingwave commented Apr 11, 2023

Cound we support AnyTimes/MaxTimes call in mock, just like gomock

mockObj.EXPECT().SomeMethod(someVal).AnyTimes()

Or some other workaround?

@qingwave
Copy link
Author

Seems Maybe method may works for AnyTimes case.

@dolmen dolmen added pkg-mock Any issues related to Mock enhancement labels Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement pkg-mock Any issues related to Mock
Projects
None yet
Development

No branches or pull requests

2 participants