From: Antony Dovgal Date: Tue, 3 Oct 2006 21:18:43 +0000 (+0000) Subject: fix tests X-Git-Tag: RELEASE_1_0_0RC1~1443 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a264ef334816975b0f244bf28c506ed2fa26653e;p=php fix tests --- diff --git a/ext/pcre/tests/grep.phpt b/ext/pcre/tests/grep.phpt index d3d9032e49..d3fe631312 100644 --- a/ext/pcre/tests/grep.phpt +++ b/ext/pcre/tests/grep.phpt @@ -21,3 +21,16 @@ array(2) { [3]=> string(3) "h20" } +--UEXPECT-- +array(2) { + [1]=> + unicode(1) "1" + [2]=> + unicode(2) "q6" +} +array(2) { + [0]=> + unicode(1) "a" + [3]=> + unicode(3) "h20" +} diff --git a/ext/pcre/tests/grep2.phpt b/ext/pcre/tests/grep2.phpt index fc92d507ff..6ea0116a38 100644 --- a/ext/pcre/tests/grep2.phpt +++ b/ext/pcre/tests/grep2.phpt @@ -54,15 +54,15 @@ Warning: preg_grep(): Compilation failed: nothing to repeat at offset 0 in %sgre bool(false) array(3) { [5]=> - string(1) "a" + unicode(1) "a" [u"xyz"]=> - string(2) "q6" + unicode(2) "q6" [6]=> - string(3) "h20" + unicode(3) "h20" } array(1) { [u"x"]=> - string(1) "1" + unicode(1) "1" } bool(true) array(0) {