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

Calling methods on moq objects from within moq objects messes up the final return value #13

Open
saikat opened this issue Sep 8, 2010 · 1 comment

Comments

@saikat
Copy link
Contributor

saikat commented Sep 8, 2010

Will make a test to reproduce this, but if I have a = moq([[A alloc] init]), and b = moq([[B alloc] init]) and in [a method] I call [b someOtherMethod], the return value of [a method] seems to be getting set to the return value of [b someOtherMethod]. Not sure if this is a bug in OJTest or with forwardInvocation in general.

@tlrobinson
Copy link
Member

Please check to see if this was fixed by http://github.com/280north/cappuccino/commit/1220555936b8b6ba545e6cb5f69621bdcc676649

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

No branches or pull requests

2 participants