Skip to content

Commit ab81a11

Browse files
committed
More readability tweaks
1 parent fe6bc51 commit ab81a11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/fakes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ As your class becomes more complete, it'll start to look more like a [{fake}][mo
246246
{stub}. You've used a fake any time you've tested with an in-memory database. A fake is a complete
247247
implementation of some interface suitable for testing.
248248

249-
Any time you replace a non-trivial dependency, you should really ensure that replacement has its own
249+
Any time you replace a non-trivial dependency, you should really ensure the replacement has its own
250250
tests. **This ensures that when you use a test double instead of the real thing, you haven't
251251
invalidated your tests.** If you're clever, you can even reuse the same tests as your production
252252
implementation–and you absolutely should. It saves you time and gives you confidence.

0 commit comments

Comments
 (0)