Add no dash character list allowed in Strings parseCharacterRanges function
Same rules with returning unique elements array
This commit is contained in:
@@ -743,6 +743,11 @@ final class CoreLibsConvertStringsTest extends TestCase
|
||||
'abcdefghijklmnopqrstuvwxyz0123',
|
||||
null,
|
||||
],
|
||||
'range without dashes' => [
|
||||
['abcddfff'],
|
||||
'abcdf',
|
||||
null,
|
||||
],
|
||||
'invalid ranges' => [
|
||||
['a-あ', 'A-あ', '0-あ'],
|
||||
'',
|
||||
|
||||
Reference in New Issue
Block a user