From: Daniel Persson Date: Mon, 7 Sep 2015 20:14:36 +0000 (+0200) Subject: Added tests for bug 70451 and 70452 X-Git-Tag: php-7.0.6RC1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff2af8951986c1192b82b0fe492528d3b758e11c;p=php Added tests for bug 70451 and 70452 --- diff --git a/ext/intl/tests/bug70451.phpt b/ext/intl/tests/bug70451.phpt new file mode 100644 index 0000000000..75392c8dad --- /dev/null +++ b/ext/intl/tests/bug70451.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #70451 IntlChar::charFromName() not consistent with C library or HHVM +--SKIPIF-- + +--FILE-- + +--EXPECT-- +int(9843) +NULL diff --git a/ext/intl/tests/bug70452.phpt b/ext/intl/tests/bug70452.phpt new file mode 100644 index 0000000000..f544c03ce3 --- /dev/null +++ b/ext/intl/tests/bug70452.phpt @@ -0,0 +1,21 @@ +--TEST-- +Bug #70452 string IntlChar::charName() can sometimes return bool(false) +--SKIPIF-- + +--FILE-- + +--EXPECT-- +string(22) "LATIN CAPITAL LETTER A" +string(22) "LATIN CAPITAL LETTER A" +string(0) "" +NULL \ No newline at end of file