diff options
Diffstat (limited to '_test')
-rw-r--r-- | _test/cases/inc/utf8_romanize.test.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/_test/cases/inc/utf8_romanize.test.php b/_test/cases/inc/utf8_romanize.test.php index e1c1be7c2..08f561f5c 100644 --- a/_test/cases/inc/utf8_romanize.test.php +++ b/_test/cases/inc/utf8_romanize.test.php @@ -12,12 +12,14 @@ class utf8_substr_test extends UnitTestCase { */ function test_japanese(){ $tests = file(dirname(__FILE__).'/utf8_kanaromaji.txt'); + $line = 1; foreach($tests as $test){ list($jap,$rom) = explode(';',trim($test)); $chk = utf8_romanize($jap); - #if($chk != $rom) echo "$jap\t->\t$chk\t!=\t$rom\n"; + #if($chk != $rom) echo "$jap\t->\t$chk\t!=\t$rom\t($line)\n"; $this->assertEqual($chk,$rom); + $line++; } } } |