tony2001                Tue Oct  3 21:18:43 2006 UTC

  Modified files:              
    /php-src/ext/pcre/tests     grep.phpt grep2.phpt 
  Log:
  fix tests
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/tests/grep.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/pcre/tests/grep.phpt
diff -u php-src/ext/pcre/tests/grep.phpt:1.2 
php-src/ext/pcre/tests/grep.phpt:1.3
--- php-src/ext/pcre/tests/grep.phpt:1.2        Tue Jun 13 22:05:26 2006
+++ php-src/ext/pcre/tests/grep.phpt    Tue Oct  3 21:18:43 2006
@@ -21,3 +21,16 @@
   [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"
+}
http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/tests/grep2.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/pcre/tests/grep2.phpt
diff -u php-src/ext/pcre/tests/grep2.phpt:1.4 
php-src/ext/pcre/tests/grep2.phpt:1.5
--- php-src/ext/pcre/tests/grep2.phpt:1.4       Thu Jul 20 21:39:48 2006
+++ php-src/ext/pcre/tests/grep2.phpt   Tue Oct  3 21:18:43 2006
@@ -54,15 +54,15 @@
 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) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to