-
Notifications
You must be signed in to change notification settings - Fork 393
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
Regex filter not working for --name #497
Comments
Have you tried wrapping in quotes? Works fine for me.
|
The latest release includes this PR which may help. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
--name does not work as regex
Mockery Version
2.1.4.0
Golang Version
1.18
Installation Method
Steps to Reproduce
Expected Behavior
A mock is generated
Actual Behavior
No mock generated as mockery prints
It think it may be related to this
https://github.com/vektra/mockery/blob/master/cmd/mockery.go#L180
If name contains regex chars filter never assumes value
The text was updated successfully, but these errors were encountered: