Skip to content

Commit

Permalink
Fixing the one failing Multibyte test.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 4, 2011
1 parent dbf801b commit 8c8dc6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/Config/unicode/casefolding/0500_052f.php
Expand Up @@ -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 */
4 changes: 2 additions & 2 deletions lib/Cake/Test/Case/I18n/MultibyteTest.php
Expand Up @@ -4515,7 +4515,7 @@ public function testUsingMbStrripos() {
$string = 'državni';
$find = 'dž';
$result = mb_strripos($string, $find);
$this->assertFalse($result);
$this->assertEquals(0, $result);
}

/**
Expand Down Expand Up @@ -7124,7 +7124,7 @@ public function testMultibyteStrtolower() {

$string = 'ԀԂԄԆԈԊԌԎԐԒ';
$result = Multibyte::strtolower($string);
$expected = 'ԁԃԅԇԉԋԍԏԐԒ';
$expected = 'ԁԃԅԇԉԋԍԏԑԓ';
$this->assertEqual($expected, $result);

$string = 'ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖև';
Expand Down

0 comments on commit 8c8dc6c

Please sign in to comment.