Skip to content

Commit 281b973

Browse files
committed
Wording
1 parent 8598a42 commit 281b973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

faking-dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Creating and injecting fake dependencies is essential for unit tests. This techn
2929

3030
## Equivalence of fake and original
3131

32-
A fake implementation must have the same shape of the original. If the dependency is a function, the fake must have the same signature, meaning the same parameters and the same return value. If the dependency is an object, the fake must have the same public API, meaning the same public methods and properties.
32+
A fake implementation must have the same shape as the original. If the dependency is a function, the fake must have the same signature, meaning the same parameters and the same return value. If the dependency is an object, the fake must have the same public API, meaning the same public methods and properties.
3333

3434
<aside class="margin-note">Replaceability</aside>
3535

0 commit comments

Comments
 (0)