com php-src: ignore second value for huge timestamp test (new zic): ext/date/tests/getdate_variation7.phpt
| From: | Remi Collet | Date: | Sat, 18 Apr 2015 07:37:06 +0000 |
| Subject: | com php-src: ignore second value for huge timestamp test (new zic): ext/date/tests/getdate_variation7.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86366@lists.php.net to get a copy of this message | ||
Commit: 3bbfb96e1a1eef0a6cf6891532f9ac419c95dbd8
Author: Remi Collet <remi@php.net> Sat, 18 Apr 2015 09:37:06 +0200
Parents: 3c81e945a3c61ea3ec00eeb946e95a1f9b92b956
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3bbfb96e1a1eef0a6cf6891532f9ac419c95dbd8
Log:
ignore second value for huge timestamp test (new zic)
Changed paths:
M ext/date/tests/getdate_variation7.phpt
Diff:
diff --git a/ext/date/tests/getdate_variation7.phpt b/ext/date/tests/getdate_variation7.phpt
index 2088fa1..c757ac7 100644
--- a/ext/date/tests/getdate_variation7.phpt
+++ b/ext/date/tests/getdate_variation7.phpt
@@ -27,7 +27,7 @@ var_dump( getdate($timestamp) );
-- Testing getdate\(\) function by passing float 12.3456789000e10 value to timestamp --
array\(11\) {
\["seconds"\]=>
- int\((36|0)\)
+ int\((.+)\)
\["minutes"\]=>
int\((43|0)\)
\["hours"\]=>
@@ -53,7 +53,7 @@ array\(11\) {
-- Testing getdate\(\) function by passing float -12.3456789000e10 value to timestamp --
array\(11\) {
\["seconds"\]=>
- int\((44|12|20)\)
+ int\((.+)\)
\["minutes"\]=>
int\((39|23)\)
\["hours"\]=>