Changeset 51565 for trunk/tests/phpunit/tests/post/nav-menu.php
- Timestamp:
- 08/06/2021 09:52:06 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/nav-menu.php
r51449 r51565 461 461 462 462 // The markup should include whitespace between <li>'s. 463 $this->assert RegExp( '/\s<li.*>|<\/li>\s/U', $menu );463 $this->assertMatchesRegularExpression( '/\s<li.*>|<\/li>\s/U', $menu ); 464 464 $this->assertNotRegExp( '/<\/li><li.*>/U', $menu ); 465 465 … … 475 475 // The markup should not include whitespace around <li>'s. 476 476 $this->assertNotRegExp( '/\s<li.*>|<\/li>\s/U', $menu ); 477 $this->assert RegExp( '/><li.*>|<\/li></U', $menu );477 $this->assertMatchesRegularExpression( '/><li.*>|<\/li></U', $menu ); 478 478 } 479 479
Note: See TracChangeset
for help on using the changeset viewer.