Skip to content

Commit 0bef231

Browse files
committed
Update unit tests to check for Unicode 17
1 parent 7db8fc0 commit 0bef231

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/phpunit/tests/formatting/emoji.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ public function data_wp_encode_emoji() {
157157
'🧚',
158158
'🧚',
159159
),
160+
array(
161+
// Hairy creature (Unicode 17).
162+
'🫈',
163+
'🫈',
164+
),
160165
);
161166
}
162167

@@ -192,6 +197,11 @@ public function data_wp_staticize_emoji() {
192197
'🧚',
193198
'<img src="' . $this->png_cdn . '1f9da.png" alt="🧚" class="wp-smiley" style="height: 1em; max-height: 1em;" />',
194199
),
200+
array(
201+
// Hairy creature (Unicode 17).
202+
'🫈',
203+
'<img src="' . $this->png_cdn . '1fac8.png" alt="🫈" class="wp-smiley" style="height: 1em; max-height: 1em;" />',
204+
),
195205
);
196206

197207
return $data;

0 commit comments

Comments
 (0)