This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix calling mocked modules from expectation fun.
Before this change calling a function in a mocked module from inside an expectation fun, and then calling meck:passthrough/1 raises an exception. This happens because the current function state is invalidated by the mocked function.
- Loading branch information
Showing 3 changed files with 9 additions and 1 deletion.