]> granicus.if.org Git - php/commitdiff
Update tests to conform with the unicode functions
authorHenrique do Nascimento Angelo <hnangelo@php.net>
Sat, 7 Jun 2008 20:33:35 +0000 (20:33 +0000)
committerHenrique do Nascimento Angelo <hnangelo@php.net>
Sat, 7 Jun 2008 20:33:35 +0000 (20:33 +0000)
ext/date/tests/008.phpt
ext/date/tests/011.phpt
ext/date/tests/013.phpt
ext/date/tests/014.phpt
ext/date/tests/bug41523-64bit.phpt
ext/date/tests/bug41523.phpt
ext/date/tests/bug43808.phpt
ext/date/tests/date_parse_001.phpt

index 700366f7a85f55105f7c3a2e0d2cdd5a061af343..d2396a0125ab3793221aed5ca8fdb7c304518ebe 100644 (file)
@@ -34,9 +34,9 @@ array(11) {
   [u"yday"]=>
   int(177)
   [u"weekday"]=>
-  string(7) "Tuesday"
+  unicode(7) "Tuesday"
   [u"month"]=>
-  string(4) "June"
+  unicode(4) "June"
   [0]=>
   int(1151366400)
 }
@@ -58,9 +58,9 @@ array(11) {
   [u"yday"]=>
   int(%d)
   [u"weekday"]=>
-  string(%d) "%s"
+  unicode(%d) "%s"
   [u"month"]=>
-  string(%d) "%s"
+  unicode(%d) "%s"
   [0]=>
   int(%d)
 }
index 1302f1d2122d23540f695f89a4b44ff943ecafd3..101ab486f9f8c14915dfe5d8e6e8041233d40b90 100644 (file)
@@ -16,8 +16,8 @@ echo "Done\n";
 --EXPECTF--
 Warning: timezone_name_from_abbr() expects at least 1 parameter, 0 given in %s on line 3
 bool(false)
-string(13) "Europe/Berlin"
+unicode(13) "Europe/Berlin"
 bool(false)
 bool(false)
-string(12) "Europe/Paris"
+unicode(12) "Europe/Paris"
 Done
index 1b64716214347910501f0f00aca80de4a52f5680..f743208cc499aee3ec1e8b409b4d80249546420f 100644 (file)
@@ -26,7 +26,7 @@ object(DateTime)#%d (3) {
   [u"timezone_type"]=>
   int(3)
   [u"timezone"]=>
-  string(3) "UTC"
+  unicode(3) "UTC"
 }
 unicode(19) "2006.12.12 00:00:00"
 
index 84ab56f44e958bbea44c48f65e7a1dc4d54a5e98..43c2fd2a7312d1f3406d31cc48d8f43f03c75ab3 100644 (file)
@@ -25,7 +25,7 @@ object(DateTime)#%d (3) {
   [u"timezone_type"]=>
   int(3)
   [u"timezone"]=>
-  string(3) "UTC"
+  unicode(3) "UTC"
 }
 object(DateTimeZone)#%d (0) {
 }
index 7204646d3ddd350d2ecf44c5d4588c2ab4f51167..46dd0c4e1d4f92eedb29559403c84ffe51c01d8c 100644 (file)
@@ -48,6 +48,6 @@ object(DateTime)#1 (3) {
   [u"timezone_type"]=>
   int(3)
   [u"timezone"]=>
-  string(3) "UTC"
+  unicode(3) "UTC"
 }
 -0001-11-30T00:00:00+0000
index df6189b69b1706913f6cd735b6f8a81fb134ced2..2aeaaaaa100f52f2429d041758464d1c72061867 100644 (file)
@@ -48,6 +48,6 @@ object(DateTime)#1 (3) {
   [u"timezone_type"]=>
   int(3)
   [u"timezone"]=>
-  string(3) "UTC"
+  unicode(3) "UTC"
 }
 -0001-11-30T00:00:00+0000
index 29a8bee6a9a67ce01a28f7eda2940968da72ffc7..37c6c0733ddf575828e74fc947c0eb7e7303b8a8 100644 (file)
@@ -20,14 +20,14 @@ array(4) {
   [u"warnings"]=>
   array(1) {
     [6]=>
-    string(29) "Double timezone specification"
+    unicode(29) "Double timezone specification"
   }
   [u"error_count"]=>
   int(1)
   [u"errors"]=>
   array(1) {
     [0]=>
-    string(47) "The timezone could not be found in the database"
+    unicode(47) "The timezone could not be found in the database"
   }
 }
 array(4) {
@@ -36,13 +36,13 @@ array(4) {
   [u"warnings"]=>
   array(1) {
     [6]=>
-    string(29) "Double timezone specification"
+    unicode(29) "Double timezone specification"
   }
   [u"error_count"]=>
   int(1)
   [u"errors"]=>
   array(1) {
     [0]=>
-    string(47) "The timezone could not be found in the database"
+    unicode(47) "The timezone could not be found in the database"
   }
 }
index 6d29c43f4b9172be0056c70c816f88f342992aeb..5152ce99979996c252d5686c36b5068ea0151ee4 100644 (file)
@@ -98,7 +98,7 @@ array(15) {
   [u"errors"]=>
   array(1) {
     [7]=>
-    string(20) "Unexpected character"
+    unicode(20) "Unexpected character"
   }
   [u"is_localtime"]=>
   bool(true)
@@ -218,9 +218,9 @@ array(15) {
   [u"errors"]=>
   array(2) {
     [0]=>
-    string(20) "Unexpected character"
+    unicode(20) "Unexpected character"
     [1]=>
-    string(20) "Unexpected character"
+    unicode(20) "Unexpected character"
   }
   [u"is_localtime"]=>
   bool(true)
@@ -256,7 +256,7 @@ array(15) {
   [u"errors"]=>
   array(1) {
     [0]=>
-    string(20) "Unexpected character"
+    unicode(20) "Unexpected character"
   }
   [u"is_localtime"]=>
   bool(true)
@@ -292,7 +292,7 @@ array(12) {
   [u"errors"]=>
   array(1) {
     [0]=>
-    string(12) "Empty string"
+    unicode(12) "Empty string"
   }
   [u"is_localtime"]=>
   bool(false)