Skip to content

Commit d558d5a

Browse files
committed
Add test case that covers multiple emojis
1 parent eb4df58 commit d558d5a

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
@@ -568,6 +568,12 @@ public function stripEmoji(string $input, string $expectedValue)
568568
public static function provideStripEmoji(): array
569569
{
570570
return [
571+
'mulitple emoji' => [
572+
'input' => 'This 💩 text contains 😞 multiple emoji 🍔 characters 🍚. As well as an alphanumeric '
573+
. 'supplement 🆗 and flag 🚩',
574+
'expected' => 'This text contains multiple emoji characters . As well as an alphanumeric '
575+
. 'supplement and flag ',
576+
],
571577
'emoji' => [
572578
'input' => '🙄 this is ridiculous',
573579
'expected' => ' this is ridiculous',

0 commit comments

Comments
 (0)