Tests: Replace `assertEquals()` with `assertSameSets()` in text widget tests.
This ensures that not only the array values being compared are equal, but also that their type is the same. Going forward, stricter type checking by using `assertSame()`, `assertSameSets()`, or `assertSameSetsWithIndex()` should generally be preferred, to make the tests more reliable. Follow-up to [40631], [41132], [48939], [51137]. See #52482, #52625. Built from https://develop.svn.wordpress.org/trunk@51220 git-svn-id: http://core.svn.wordpress.org/trunk@50829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6ec11e6b55
commit
a048ac3ccd
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.8-beta3-51219';
|
||||
$wp_version = '5.8-beta3-51220';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue