mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
Fixing the one failing Multibyte test.
This commit is contained in:
parent
dbf801b9d4
commit
8c8dc6cebb
2 changed files with 4 additions and 2 deletions
|
@ -46,3 +46,5 @@ $config['0500_052f'][] = array('upper' => 1288, 'status' => 'C', 'lower' => arra
|
|||
$config['0500_052f'][] = array('upper' => 1290, 'status' => 'C', 'lower' => array(1291)); /* CYRILLIC CAPITAL LETTER KOMI NJE */
|
||||
$config['0500_052f'][] = array('upper' => 1292, 'status' => 'C', 'lower' => array(1293)); /* CYRILLIC CAPITAL LETTER KOMI SJE */
|
||||
$config['0500_052f'][] = array('upper' => 1294, 'status' => 'C', 'lower' => array(1295)); /* CYRILLIC CAPITAL LETTER KOMI TJE */
|
||||
$config['0500_052f'][] = array('upper' => 1296, 'status' => 'C', 'lower' => array(1297)); /* CYRILLIC CAPITAL LETTER ZE */
|
||||
$config['0500_052f'][] = array('upper' => 1298, 'status' => 'C', 'lower' => array(1299)); /* CYRILLIC CAPITAL LETTER El with hook */
|
||||
|
|
|
@ -4515,7 +4515,7 @@ class MultibyteTest extends CakeTestCase {
|
|||
$string = 'državni';
|
||||
$find = 'dž';
|
||||
$result = mb_strripos($string, $find);
|
||||
$this->assertFalse($result);
|
||||
$this->assertEquals(0, $result);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -7124,7 +7124,7 @@ mb_strtolower does not work for these strings.
|
|||
|
||||
$string = 'ԀԂԄԆԈԊԌԎԐԒ';
|
||||
$result = Multibyte::strtolower($string);
|
||||
$expected = 'ԁԃԅԇԉԋԍԏԐԒ';
|
||||
$expected = 'ԁԃԅԇԉԋԍԏԑԓ';
|
||||
$this->assertEqual($expected, $result);
|
||||
|
||||
$string = 'ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖև';
|
||||
|
|
Loading…
Add table
Reference in a new issue