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
context'1 time, unsatisfied (with 2)', ->When->@testDouble()
And->@testDouble()
Then-> shouldThrow (=>td.verify(@testDouble(), times:1)), """ Unsatisfied verification on test double. Wanted: - called with `()` 1 time. But was actually called: - called with `()`. - called with `()`."""
I'd rather see it end with:
""" But was actually called: - called with `()` 2 times."""
This would require some care to make sure we account for matchers of different types of calls when we compare and print the actuals (since if the matchers satisfy they'll 'look' the same to the lib. We'd need a way to disable matchers for this purpose)
The text was updated successfully, but these errors were encountered:
See this test:
I'd rather see it end with:
This would require some care to make sure we account for matchers of different types of calls when we compare and print the actuals (since if the matchers satisfy they'll 'look' the same to the lib. We'd need a way to disable matchers for this purpose)
The text was updated successfully, but these errors were encountered: