Skip to content
Permalink
Browse files

Migrating MultibyteTest to phpunit

  • Loading branch information...
lorenzo committed May 19, 2010
1 parent 1fa430c commit 625d120d74c4c64c5b733e2f4bf34a504b1cd47e
Showing with 4 additions and 4 deletions.
  1. +4 −4 cake/tests/cases/libs/multibyte.test.php
@@ -4532,7 +4532,7 @@ function testUsingMbStrripos() {
$string = 'državni';
$find = '';
$result = mb_strripos($string, $find);
$expected = false;
$expected = 0;
$this->assertEqual($result, $expected);
}
@@ -4786,7 +4786,7 @@ function testMultibyteStrripos() {
$string = 'državni';
$find = '';
$result = Multibyte::strripos($string, $find);
$expected = false;
$expected = 0;
$this->assertEqual($result, $expected);
}
@@ -8559,7 +8559,7 @@ function testUsingMbSubstrCount() {
$string = 'Ĥēĺļŏ, Ŵőřļď!';
$find = 'H';
$result = mb_substr_count($string, $find);
$expected = false;
$expected = 0;
$this->assertEqual($result, $expected);
}
@@ -8813,7 +8813,7 @@ function testMultibyteSubstrCount() {
$string = 'Ĥēĺļŏ, Ŵőřļď!';
$find = 'H';
$result = Multibyte::substrCount($string, $find);
$expected = false;
$expected = 0;
$this->assertEqual($result, $expected);
}

0 comments on commit 625d120

Please sign in to comment.
You can’t perform that action at this time.