Skip to content

Commit 3d70405

Browse files
author
Marcus Deglos
committed
Updated test-result precision to match the expected result.
1 parent d847f15 commit 3d70405

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/geospatial_haversine_london_edinburgh.phpt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Check the haversine function usage.
2+
Check the haversine function returns the correct distance between London and Edinburgh.
33
--SKIPIF--
44
<?php if (!extension_loaded("geospatial")) print "skip"; ?>
55
--FILE--
@@ -34,6 +34,5 @@ echo haversine(51.5171, 0.1062, 55.9500, 3.2200);
3434
*/
3535
?>
3636
--EXPECT--
37-
534.237028
38-
37+
534.23703599421
3938

0 commit comments

Comments
 (0)