We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if I want to verify that a function with arity 3 was called but I don't care about the number of args, I still have to say
import Mockex.Matchers assert_called mock.function(any(), any(), any())
import Mockex.Matchers assert_called mock.function, :any_args # OR for consistency with other matchers assert_called mock.function(any_number_of_args())
We can't simply use assert_called mock.function because it means "assert called with no args"
assert_called mock.function
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently,
if I want to verify that a function with arity 3 was called but I don't care about the number of args, I still have to say
Suggestion
We can't simply use
assert_called mock.function
because it means "assert called with no args"The text was updated successfully, but these errors were encountered: