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

Deleting an expectation in passthrough mode does not restore original function #88

Closed
eproxus opened this issue Nov 4, 2012 · 0 comments · Fixed by #162
Closed

Deleting an expectation in passthrough mode does not restore original function #88

eproxus opened this issue Nov 4, 2012 · 0 comments · Fixed by #162
Labels

Comments

@eproxus
Copy link
Owner

eproxus commented Nov 4, 2012

1> meck:new(string, [passthrough, no_link, unstick]).
ok
2> meck:expect(string, len, 1, 12).
ok    
3> string:len("apa").
12
4> meck:delete(string, len, 1).
ok
5> string:len("apa").
** exception error: undefined function string:len/1
yutopp added a commit to yutopp/meck that referenced this issue Jun 27, 2016
@yutopp yutopp mentioned this issue Jun 27, 2016
yutopp added a commit to yutopp/meck that referenced this issue Jun 27, 2016
amutake pushed a commit to amutake/meck that referenced this issue Jun 29, 2016
amutake pushed a commit to amutake/meck that referenced this issue Dec 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant