derick          Wed Jul 16 07:35:56 2008 UTC

  Modified files:              
    /php-src/ext/date/tests     bug41523-64bit.phpt bug41709.phpt 
                                date_parse_001.phpt 
  Log:
  - Fixed tests.
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug41523-64bit.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/date/tests/bug41523-64bit.phpt
diff -u php-src/ext/date/tests/bug41523-64bit.phpt:1.4 
php-src/ext/date/tests/bug41523-64bit.phpt:1.5
--- php-src/ext/date/tests/bug41523-64bit.phpt:1.4      Sat Jun  7 20:33:35 2008
+++ php-src/ext/date/tests/bug41523-64bit.phpt  Wed Jul 16 07:35:56 2008
@@ -29,9 +29,11 @@
   [u"fraction"]=>
   float(0)
   [u"warning_count"]=>
-  int(0)
+  int(1)
   [u"warnings"]=>
-  array(0) {
+  array(1) {
+    [20]=>
+    unicode(27) "The parsed date was invalid"
   }
   [u"error_count"]=>
   int(0)
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/bug41709.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/date/tests/bug41709.phpt
diff -u php-src/ext/date/tests/bug41709.phpt:1.1 
php-src/ext/date/tests/bug41709.phpt:1.2
--- php-src/ext/date/tests/bug41709.phpt:1.1    Thu Jul 12 18:56:42 2007
+++ php-src/ext/date/tests/bug41709.phpt        Wed Jul 16 07:35:56 2008
@@ -18,9 +18,10 @@
     [minute] => 0
     [second] => 0
     [fraction] => 0
-    [warning_count] => 0
+    [warning_count] => 1
     [warnings] => Array
         (
+            [22] => The parsed date was invalid
         )
 
     [error_count] => 1
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/date_parse_001.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/date/tests/date_parse_001.phpt
diff -u php-src/ext/date/tests/date_parse_001.phpt:1.4 
php-src/ext/date/tests/date_parse_001.phpt:1.5
--- php-src/ext/date/tests/date_parse_001.phpt:1.4      Sat Jun  7 20:33:35 2008
+++ php-src/ext/date/tests/date_parse_001.phpt  Wed Jul 16 07:35:56 2008
@@ -89,9 +89,11 @@
   [u"fraction"]=>
   bool(false)
   [u"warning_count"]=>
-  int(0)
+  int(1)
   [u"warnings"]=>
-  array(0) {
+  array(1) {
+    [12]=>
+    unicode(27) "The parsed date was invalid"
   }
   [u"error_count"]=>
   int(1)
@@ -125,9 +127,11 @@
   [u"fraction"]=>
   bool(false)
   [u"warning_count"]=>
-  int(0)
+  int(1)
   [u"warnings"]=>
-  array(0) {
+  array(1) {
+    [11]=>
+    unicode(27) "The parsed date was invalid"
   }
   [u"error_count"]=>
   int(0)
@@ -181,9 +185,11 @@
   [u"fraction"]=>
   bool(false)
   [u"warning_count"]=>
-  int(0)
+  int(1)
   [u"warnings"]=>
-  array(0) {
+  array(1) {
+    [8]=>
+    unicode(27) "The parsed date was invalid"
   }
   [u"error_count"]=>
   int(0)
@@ -298,6 +304,6 @@
   bool(false)
 }
 
-Warning: date_parse() expects parameter 1 to be binary string, array given in 
%s on line %d
+Warning: date_parse() expects parameter 1 to be binary string, array given in 
/home/derick/dev/php/php-6.0dev/ext/date/tests/date_parse_001.php on line 11
 bool(false)
 Done



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

Reply via email to