Commit 1665a87
committed
test: stop asserting things _inside_ a mocked function
It is bad practice, and for good reason: It makes it hard to verify
things when the same, mocked function is called _multiple_ times inside
the same test case, and with different parameters that need to be
verified, too.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 6c97a50 commit 1665a87
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
| 2 | + | |
7 | 3 | | |
8 | 4 | | |
9 | 5 | | |
| |||
197 | 193 | | |
198 | 194 | | |
199 | 195 | | |
200 | | - | |
| 196 | + | |
201 | 197 | | |
202 | 198 | | |
203 | 199 | | |
| |||
0 commit comments