diff options
author | Steve Walk <steve.walk@cavium.com> | 2017-04-18 08:43:03 -0700 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-04-20 06:42:20 +0100 |
commit | 9b7f13cb1b750d2dcac441945ab7cc1600fc080b (patch) | |
tree | 0a047f70ef78da09f6d92f299b8dd91f64f4ef17 | |
parent | 464742bd2a9ce765d8b0be4ba6897c3e5accd6fe (diff) | |
download | php-git-9b7f13cb1b750d2dcac441945ab7cc1600fc080b.tar.gz |
Avoid exact floating point comparison
-rw-r--r-- | ext/date/tests/timezone_location_get.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/tests/timezone_location_get.phpt b/ext/date/tests/timezone_location_get.phpt index 745fc8799e..93f7ed6d75 100644 --- a/ext/date/tests/timezone_location_get.phpt +++ b/ext/date/tests/timezone_location_get.phpt @@ -10,12 +10,12 @@ date.timezone=UTC $location = timezone_location_get(new DateTimeZone("Europe/Oslo")); var_dump($location); ?> ---EXPECT-- +--EXPECTF-- array(4) { ["country_code"]=> string(2) "NO" ["latitude"]=> - float(59.91666) + float(59.9166%d) ["longitude"]=> float(10.75) ["comments"]=> |