Commit 91dee40
committed
Tests: Use
This ensures that not only the return values match the expected results, but also that their type is the same.
Going forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.
Follow-up to [59132].
See #64324.
Built from https://develop.svn.wordpress.org/trunk@61367
git-svn-id: https://core.svn.wordpress.org/trunk@60679 1a063a9b-81f0-0310-95a4-ce76da25c4cdassertSame() in some newly introduced tests.1 parent 2f2d2dd commit 91dee40
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments