Changeset 41701 for trunk/tests/phpunit/tests/formatting/Emoji.php
- Timestamp:
- 10/03/2017 07:11:28 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/formatting/Emoji.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/Emoji.php
r41045 r41701 63 63 64 64 /** 65 * @ticket 3529365 * @ticket 41501 66 66 */ 67 public function test_wp_emoji_ regex_returns_regexen() {68 $default = wp_emoji_regex();67 public function test_wp_emoji_list_returns_data() { 68 $default = _wp_emoji_list(); 69 69 $this->assertNotEmpty( $default ); 70 70 71 $codepoints = wp_emoji_regex( 'codepoints' ); 72 $this->assertNotEmpty( $codepoints ); 73 74 $this->assertSame( $default, $codepoints ); 75 76 $entities = wp_emoji_regex( 'entities' ); 71 $entities = _wp_emoji_list( 'entities' ); 77 72 $this->assertNotEmpty( $entities ); 78 73 79 $this->assertNotSame( $default, $entities ); 74 $this->assertSame( $default, $entities ); 75 76 $partials = _wp_emoji_list( 'partials' ); 77 $this->assertNotEmpty( $partials ); 78 79 $this->assertNotSame( $default, $partials ); 80 80 } 81 81
Note: See TracChangeset
for help on using the changeset viewer.