mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Move failing assertion to a new test method
This commit is contained in:
parent
d5ac7aa0b2
commit
0f0cedec14
1 changed files with 12 additions and 5 deletions
|
@ -7623,11 +7623,6 @@ class MultibyteTest extends CakeTestCase {
|
|||
$expected = 'ԀԂԄԆԈԊԌԎԐԒ';
|
||||
$this->assertEquals($expected, $result);
|
||||
|
||||
$string = 'աբգդեզէըթժիլխծկհձղճմյնշոչպջռսվտրցւփքօֆև';
|
||||
$result = mb_strtoupper($string);
|
||||
$expected = 'ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖև';
|
||||
$this->assertEquals($expected, $result);
|
||||
|
||||
$string = 'ႠႡႢႣႤႥႦႧႨႩႪႫႬႭႮႯႰႱႲႳႴႵႶႷႸႹႺႻႼႽႾႿჀჁჂჃჄჅ';
|
||||
$result = mb_strtoupper($string);
|
||||
$expected = 'ႠႡႢႣႤႥႦႧႨႩႪႫႬႭႮႯႰႱႲႳႴႵႶႷႸႹႺႻႼႽႾႿჀჁჂჃჄჅ';
|
||||
|
@ -7649,6 +7644,18 @@ class MultibyteTest extends CakeTestCase {
|
|||
$this->assertEquals($expected, $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* testUsingMbStrtoupperArmenian method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testUsingMbStrtoupperArmenian() {
|
||||
$string = 'աբգդեզէըթժիլխծկհձղճմյնշոչպջռսվտրցւփքօֆև';
|
||||
$result = mb_strtoupper($string);
|
||||
$expected = 'ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖև';
|
||||
$this->assertEquals($expected, $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* testMultibyteStrtoupper method
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue