This is something that broke when we made Expectation a protocol. Apparently, there's something in swift's type system that just does not work with this? I'm not going to search through the swift bug list for it, though.
So, the solution is to implement == with tuples for both SyncExpectation and AsyncExpectation.
Fixes #1014
This is something that broke when we made
Expectation
a protocol. Apparently, there's something in swift's type system that just does not work with this? I'm not going to search through the swift bug list for it, though.So, the solution is to implement
==
with tuples for both SyncExpectation and AsyncExpectation.