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.
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
tomeck: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.