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