Hacker News new | ask | show | jobs
by marcosdumay 1623 days ago
It is different. You tell the mock to give you an specific error with specific information, while you tell the fake to give you the error for an specific condition.

It is subtle and may not be worth the time, but again, it may be.