You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binary operator '==' cannot be applied to two '[Recorded<Event>]' operands. Void isn't implement Equatable.
What actually happens:
Hi,
Recently I tried to use RxTest with ViewModel architecture in my project. But I got some wrong from Xcode, that "Binary operator '==' cannot be applied to two '[Recorded<Event>]' operands" error log.
In this code, I can't use tapObserver.events == expectedEvents because Void is not implemented Equatable. Only I can transform it to string. How to solve this problem?
Thanks for you help.
The text was updated successfully, but these errors were encountered:
this doesn't look like an issue with the project itself but more of a "how do I do XXX" question.
Please ask these kinds of questions in our slack channel http://rxswift-slack.herokuapp.com/ or some other more appropriate communication channel.
We are asking this because:
we can't scale development of this project if people are reporting false issues and we are spending lot of time answering those directly instead of working on this project.
all who are interested in development of this project and watching it are being spammed by irrelevant information.
those who want to know what are currently unresolved serious issues are having a harder time figuring it out because list is spammed by non issues, so the real issues are masked.
Short description of the issue:
Binary operator '==' cannot be applied to two '[Recorded<Event>]' operands.
Void
isn't implement Equatable.What actually happens:
Hi,
Recently I tried to use RxTest with ViewModel architecture in my project. But I got some wrong from Xcode, that "Binary operator '==' cannot be applied to two '[Recorded<Event>]' operands" error log.
There is my MVVM code:
And my test code:
In this code, I can't use
tapObserver.events == expectedEvents
because Void is not implemented Equatable. Only I can transform it to string. How to solve this problem?Thanks for you help.
The text was updated successfully, but these errors were encountered: