sabirvirtuoso / Mockit

A simple mocking framework for Swift, inspired by the famous http://mockito.org/
MIT License
120 stars 27 forks source link

Add details to argument mismatch error #19

Closed andraskadar closed 5 years ago

andraskadar commented 5 years ago

We experienced a strange error that caused some of our tests to crash, but only in our CI system, never locally. It was really hard to identify the issue, since the error message was not informative enough. This commit is supposed to give more detail about the actual stub when this argument mismatch error occurs.