mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 09:47:23 +01:00
Use mb_strlen instead of grapheme_strlen
Due to inconsistent behave, mb_strlen will be used.
This commit is contained in:
@ -5,7 +5,7 @@ use PHPUnit\Framework\ExpectationFailedException;
|
||||
it('passes', function ($value) {
|
||||
expect($value)->toHaveLength(9);
|
||||
})->with([
|
||||
'Fortaleza', 'Sollefteå', 'Ιεράπετρα', 'PT-BR 🇵🇹🇧🇷😎',
|
||||
'Fortaleza', 'Sollefteå', 'Ιεράπετρα',
|
||||
(object) [1, 2, 3, 4, 5, 6, 7, 8, 9],
|
||||
collect([1, 2, 3, 4, 5, 6, 7, 8, 9]),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user