com php-src: ignore second value for huge timestamp test (new zic): ext/date/tests/getdate_variation7.phpt
| From: | Remi Collet | Date: | Tue, 28 Apr 2015 10:48:38 +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-86525@lists.php.net to get a copy of this message | ||
Commit: c1e84a3bdee216d8951fce8678daede24798ea94
Author: Remi Collet <remi@php.net> Sat, 18 Apr 2015 09:37:06 +0200
Parents: 194e64982e4408ba54cec143612e1a1aaa0fb937
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c1e84a3bdee216d8951fce8678daede24798ea94
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"\]=>