com php-src: fix test: ext/date/tests/bug73091.phpt
| From: | Anatol Belski | Date: | Thu, 13 Oct 2016 23:44:45 +0000 |
| Subject: | com php-src: fix test: ext/date/tests/bug73091.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95067@lists.php.net to get a copy of this message | ||
Commit: 06e7c9983a272e420e9437383ec4283607288c61
Author: Anatol Belski <ab@php.net> Wed, 12 Oct 2016 19:28:15 +0200
Parents: a6715786a7e19b4c3deb0b366e21bbf49e40bf4f
Branches: PHP-7.1
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=06e7c9983a272e420e9437383ec4283607288c61
Log:
fix test
(cherry picked from commit fa9370db03944b31a9c3b20d586a290fe51ceaa0)
Changed paths:
M ext/date/tests/bug73091.phpt
Diff:
diff --git a/ext/date/tests/bug73091.phpt b/ext/date/tests/bug73091.phpt
index 668ef50..c051573 100644
--- a/ext/date/tests/bug73091.phpt
+++ b/ext/date/tests/bug73091.phpt
@@ -12,7 +12,7 @@ class foo {
var_dump(unserialize('O:12:"DateInterval":1:{s:4:"days";O:3:"foo":0:{}}'));
?>
--EXPECTF--
-object(DateInterval)#%d (15) {
+object(DateInterval)#%d (16) {
["days"]=>
int(-1)
["y"]=>
@@ -27,6 +27,8 @@ object(DateInterval)#%d (15) {
int(-1)
["s"]=>
int(-1)
+ ["f"]=>
+ float(-1)
["weekday"]=>
int(-1)
["weekday_behavior"]=>