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

Fix up "double" stub #298

Merged
merged 2 commits into from
May 19, 2023
Merged

Fix up "double" stub #298

merged 2 commits into from
May 19, 2023

Conversation

dmaclach
Copy link
Collaborator

OCMock silently ignores multiple equivalent stubs. The user was being stubbed twice for alloc. Change it to "expect" which expresses what is actually being tested for.

OCMock silently ignores multiple equivalent stubs. The user was being stubbed twice for alloc. Change it to "expect" which expresses what is actually being tested for.
@mdmathias mdmathias merged commit 312d506 into google:main May 19, 2023
10 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants