Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing the one failing Multibyte test.

  • Loading branch information...
commit 8c8dc6cebbc549db99f768b537ff346d2578df02 1 parent dbf801b
@markstory markstory authored
View
2  lib/Cake/Config/unicode/casefolding/0500_052f.php
@@ -46,3 +46,5 @@
$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 */
View
4 lib/Cake/Test/Case/I18n/MultibyteTest.php
@@ -4515,7 +4515,7 @@ public function testUsingMbStrripos() {
$string = 'državni';
$find = '';
$result = mb_strripos($string, $find);
- $this->assertFalse($result);
+ $this->assertEquals(0, $result);
}
/**
@@ -7124,7 +7124,7 @@ public function testMultibyteStrtolower() {
$string = 'ԀԂԄԆԈԊԌԎԐԒ';
$result = Multibyte::strtolower($string);
- $expected = 'ԁԃԅԇԉԋԍԏԐԒ';
+ $expected = 'ԁԃԅԇԉԋԍԏԑԓ';
$this->assertEqual($expected, $result);
$string = 'ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖև';
Please sign in to comment.
Something went wrong with that request. Please try again.