com php-src: Fix tests: ext/date/tests/date-time-modify-times.phpt ext/standard/tests/strings/bug70436.phpt
| From: | Stanislav Malyshev | Date: | Wed, 05 Jul 2017 03:12:57 +0000 |
| Subject: | com php-src: Fix tests: ext/date/tests/date-time-modify-times.phpt ext/standard/tests/strings/bug70436.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98343@lists.php.net to get a copy of this message | ||
Commit: e46d5896240012f5291fe3f730c76d5f0d124fe4
Author: Stanislav Malyshev <stas@php.net> Tue, 4 Jul 2017 20:12:57 -0700
Parents: 12107d619b4380efa8543046357af07b7733020d
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e46d5896240012f5291fe3f730c76d5f0d124fe4
Log:
Fix tests
Changed paths:
M ext/date/tests/date-time-modify-times.phpt
M ext/standard/tests/strings/bug70436.phpt
Diff:
diff --git a/ext/date/tests/date-time-modify-times.phpt b/ext/date/tests/date-time-modify-times.phpt
index 258ddbd..e355f18 100644
--- a/ext/date/tests/date-time-modify-times.phpt
+++ b/ext/date/tests/date-time-modify-times.phpt
@@ -34,14 +34,14 @@ foreach ( $tests as $start => $data )
echo "\n";
?>
--EXPECT--
-Sat, 23 Oct 2010 00:00:00 +0000
+Fri, 15 Oct 2010 23:00:00 +0000
Wed, 15 Dec 2010 16:15:00 +0000
Mon, 20 Dec 2010 00:00:00 +0000
Mon, 20 Dec 2010 10:00:00 +0000
Tue, 21 Dec 2010 12:00:00 +0000
Mon, 03 Jan 2011 00:00:00 +0000
Mon, 03 Jan 2011 09:00:00 +0000
-Sat, 23 Oct 2010 00:00:00 +0100
+Fri, 15 Oct 2010 23:00:00 +0100
Sun, 28 Mar 2010 00:15:00 +0000
Sun, 28 Mar 2010 02:15:00 +0100
Sun, 28 Mar 2010 02:15:00 +0100
diff --git a/ext/standard/tests/strings/bug70436.phpt b/ext/standard/tests/strings/bug70436.phpt
index c62e468..469988c 100644
--- a/ext/standard/tests/strings/bug70436.phpt
+++ b/ext/standard/tests/strings/bug70436.phpt
@@ -48,7 +48,7 @@ DONE
--EXPECTF--
Notice: unserialize(): Error at offset 0 of 3 bytes in %sbug70436.php on line %d
-Notice: unserialize(): Error at offset 17 of 17 bytes in %sbug70436.php on line %d
+Notice: unserialize(): Error at offset 16 of 17 bytes in %sbug70436.php on line %d
array(4) {
[0]=>
int(1)
@@ -62,4 +62,4 @@ array(4) {
[3]=>
bool(false)
}
-DONE
\ No newline at end of file
+DONE