Changeset 51565 for trunk/tests/phpunit/tests/functions.php
- Timestamp:
- 08/06/2021 09:52:06 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions.php
r51564 r51565 1208 1208 for ( $i = 0; $i < 20; $i += 1 ) { 1209 1209 $id = wp_unique_id( 'foo-' ); 1210 $this->assert RegExp( '/^foo-\d+$/', $id );1210 $this->assertMatchesRegularExpression( '/^foo-\d+$/', $id ); 1211 1211 $ids[] = $id; 1212 1212 }
Note: See TracChangeset
for help on using the changeset viewer.