-
Notifications
You must be signed in to change notification settings - Fork 158
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
expecting notifications not working? #163
Comments
Same for me. |
you're welcome to take a stab at fixing it? |
Hi orta, nice to see you again \o/ This issue was opened by me on Aug 24, 2015. It was the first time using expecta, so I thought "I must be doing something wrong", that's why I was not sure if the problem was mine, or the library's. But If as today this issue still exists I could prepare a example project for more experienced users just to verify this problem, and then gladly try to help fixing it. |
👯 It's worth a quick look, I think Ash was right in that tweet: https://gist.github.com/gfontenot/ would probably do a comparison compare, not a string equals, and dictionary equals ( maybe there's no custom |
Nop, I don't see a custom
I assume that the Objective-C implementation will be similar. Maybe the problem is in the creation of the matcher. Anyway, I will try to prepare a example project to isolate the issue. |
Hi, I am just trying to test if a notification is posted...
This tests fails with
the expected value is nil/null
, am I doing something wrong?I debugged a little and here:
EXPMatcherImplementationBegin(postNotification, (id expected))
expected is always nil, so the block is never executed.
Furthermore it would be nice to check this tweet from AshFurrow talking about object:nil when posting the notification.
The text was updated successfully, but these errors were encountered: