Closed tanakahisateru closed 11 years ago
Some PHP IDEs (like as PhpStorm) can't parse a non-ASCII method name. They shows it as failure result in running PHPUnit. I prefer to change as below:
diff --git a/tests/UTF8Test.php b/tests/UTF8Test.php index 149b8b3..04caa8e 100644 --- a/tests/UTF8Test.php +++ b/tests/UTF8Test.php @@ -24,7 +24,7 @@ class UTF8Test extends PHPTAL_TestCase $this->assertEquals('b',$str[2],"mbstring.func_overload is not supported"); } - function testË() + function testUmlaut() { $src = '<div class="box_title">Kopiëren van een rapport</div>'; $res = $this->newPHPTAL()->setSource($src)->execute();
PR? :)
Moved to #18
Some PHP IDEs (like as PhpStorm) can't parse a non-ASCII method name. They shows it as failure result in running PHPUnit. I prefer to change as below: