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

Validate the options being passed to meck:new #204

Merged
merged 4 commits into from
Mar 21, 2019

Conversation

FrankBro
Copy link
Contributor

@FrankBro FrankBro commented Mar 13, 2019

Right now, the options being passed to meck are not checked against a list of possible options. This bit me because I made a typo when trying to pass passthrough to meck:new. Funnily enough, by implementing the change, I found a typo in one of your test cases for that option as well.

I'm fairly new to Erlang so I'm not sure if I did everything correctly.

@eproxus eproxus merged commit 2c7ba60 into eproxus:master Mar 21, 2019
@eproxus
Copy link
Owner

eproxus commented Mar 21, 2019

Looks good! Thanks a lot for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants