com php-src: Fix test: ext/date/tests/bug55397.phpt
| From: | Xinchen Hui | Date: | Mon, 01 Apr 2013 10:12:16 +0000 |
| Subject: | com php-src: Fix test: ext/date/tests/bug55397.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71821@lists.php.net to get a copy of this message | ||
Commit: 9456dac54e89bdfdf9904739bae315aae9a14a81
Author: Xinchen Hui <laruence@php.net> Mon, 1 Apr 2013 18:12:16 +0800
Parents: fecce5a55f132f4cd83ae46a29baca82043130d1
Branches: PHP-5.3
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9456dac54e89bdfdf9904739bae315aae9a14a81
Log:
Fix test
Changed paths:
M ext/date/tests/bug55397.phpt
Diff:
diff --git a/ext/date/tests/bug55397.phpt b/ext/date/tests/bug55397.phpt
index efc09b5..13778a0 100644
--- a/ext/date/tests/bug55397.phpt
+++ b/ext/date/tests/bug55397.phpt
@@ -7,5 +7,4 @@ date_default_timezone_set('Europe/Prague');
var_dump(unserialize('O:8:"DateTime":0:{}') == new DateTime);
?>
--EXPECTF--
-Warning: %s: Trying to compare an incomplete DateTime object in %s on line %d
-bool(false)
+Fatal error: Invalid serialization data for DateTime object in %sbug55397.php on line %d