mirror of
https://github.com/danog/endtoend-test-psl.git
synced 2024-12-02 09:38:32 +01:00
[Test][Str][Byte] don't test against multibyte string
This commit is contained in:
parent
67ac9cfb09
commit
c5400a8571
@ -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'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -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']
|
||||||
];
|
];
|
||||||
|
@ -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'],
|
||||||
['你好', '你好'],
|
|
||||||
['こんにちは世界', 'こんにちは世界'],
|
|
||||||
['สวัสดี', 'สวัสดี'],
|
|
||||||
['ؤخى', 'ؤخى']
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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'],
|
||||||
['你好', '你好'],
|
|
||||||
['こんにちは世界', 'こんにちは世界'],
|
|
||||||
['สวัสดี', 'สวัสดี'],
|
|
||||||
['ؤخى', 'ؤخى']
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user