[Test][Str][Byte] don't test against multibyte string

This commit is contained in:
azjezz 2020-07-06 19:29:56 +01:00
parent 67ac9cfb09
commit c5400a8571
4 changed files with 0 additions and 21 deletions

View File

@ -25,7 +25,6 @@ class CapitalizeTest extends TestCase
['Hello, world', 'hello, world'], ['Hello, world', 'hello, world'],
['Alpha', 'Alpha', ], ['Alpha', 'Alpha', ],
['Héllö, wôrld!', 'héllö, wôrld!'], ['Héllö, wôrld!', 'héllö, wôrld!'],
['ḫéllö, wôrld!', 'ḫéllö, wôrld!'],
['ßoo', 'ßoo'], ['ßoo', 'ßoo'],
]; ];
} }

View File

@ -22,7 +22,6 @@ class CapitalizeWordsTest extends TestCase
return [ return [
['Hello', 'hello', ], ['Hello', 'hello', ],
['Hello, World', 'hello, world'], ['Hello, World', 'hello, world'],
['ḫello, ꝡorld', 'ḫello, ꝡorld'],
['Alpha', 'Alpha', ], ['Alpha', 'Alpha', ],
['Foo, Bar, And Baz', 'foo, bar, and baz'] ['Foo, Bar, And Baz', 'foo, bar, and baz']
]; ];

View File

@ -22,19 +22,8 @@ class LowercaseTest extends TestCase
return [ return [
['hello', 'hello'], ['hello', 'hello'],
['hello', 'Hello'], ['hello', 'Hello'],
['سيف', 'سيف'],
['1337', '1337'], ['1337', '1337'],
['hÉllÖ, wÔrld!', 'HÉLLÖ, WÔRLD!'],
['héllö, wôrld!', 'héllö, wôrld!'],
['ß', 'ß'],
['ẞ', 'ẞ'],
['🤷 🔥', '🤷 🔥'],
['سيف', 'سيف'],
['1337', '1337'], ['1337', '1337'],
['你好', '你好'],
['こんにちは世界', 'こんにちは世界'],
['สวัสดี', 'สวัสดี'],
['ؤخى', 'ؤخى']
]; ];
} }
} }

View File

@ -24,15 +24,7 @@ class UppercaseTest extends TestCase
['HELLO', 'hello'], ['HELLO', 'hello'],
['HELLO', 'helLO'], ['HELLO', 'helLO'],
['HELLO', 'Hello'], ['HELLO', 'Hello'],
['HéLLö, WôRLD!', 'héllö, wôrld!'],
['ẞ', 'ẞ'],
['🤷 🔥', '🤷 🔥'],
['سيف', 'سيف'],
['1337', '1337'], ['1337', '1337'],
['你好', '你好'],
['こんにちは世界', 'こんにちは世界'],
['สวัสดี', 'สวัสดี'],
['ؤخى', 'ؤخى']
]; ];
} }
} }