We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It should be possible to call the original function from within the expect fun and use the result before returning it:
fun() -> Result = mock:call_original(Args), use(Result) end
The text was updated successfully, but these errors were encountered:
Possible to do with use of process dictionary in caller (see exec/4 in put-get branch).
exec/4
Sorry, something went wrong.
Allow using return value from passthrough/1
c336ce1
Fixes issue #2.
No branches or pull requests
It should be possible to call the original function from within the expect fun and use the result before returning it:
The text was updated successfully, but these errors were encountered: