Skip to content

Commit 90e1d7a

Browse files
committed
Add test case that covers multiple emojis
1 parent 56d5360 commit 90e1d7a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/Filter/StringsTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,12 @@ public function stripEmoji(string $input, string $expectedValue): void
567567
public static function provideStripEmoji(): array
568568
{
569569
return [
570+
'mulitple emoji' => [
571+
'input' => 'This 💩 text contains 😞 multiple emoji 🍔 characters 🍚. As well as an alphanumeric '
572+
. 'supplement 🆗 and flag 🚩',
573+
'expected' => 'This text contains multiple emoji characters . As well as an alphanumeric '
574+
. 'supplement and flag ',
575+
],
570576
'emoji' => [
571577
'input' => '🙄 this is ridiculous',
572578
'expected' => ' this is ridiculous',

0 commit comments

Comments
 (0)