Build/Test Tools: Add assertions that test the tests.
Several tests perform assertions conditionally or iterate dynamic arrays without ensuring they're populated. If the test is faulty and the condition never evaluates to true, or the array being iterated is unexpectedly empty, this will now correctly cause the test to fail. Props johnbillion, jrf. See #63167 Built from https://develop.svn.wordpress.org/trunk@60251 git-svn-id: http://core.svn.wordpress.org/trunk@59587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.9-alpha-60250';
|
||||
$wp_version = '6.9-alpha-60251';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user