Skip to content

Fix up "double" stub#298

Merged
mdmathias merged 2 commits intogoogle:mainfrom
dmaclach:patch-1
May 19, 2023
Merged

Fix up "double" stub#298
mdmathias merged 2 commits intogoogle:mainfrom
dmaclach:patch-1

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
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.

3 participants