test failure for +- 0.0
missinglink opened this issue · comments
On the Mac ARM machines this one test fails due to -0 != +0
go test
--- FAIL: TestComputeCentroidForClosedPolygon (0.00s)
centroid_test.go:84:
Error Trace: centroid_test.go:84
Error: Not equal:
expected: "0.0000000"
actual : "-0.0000000"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-0.0000000
+-0.0000000
Test: TestComputeCentroidForClosedPolygon
FAIL
exit status 1
FAIL github.com/pelias/pbf2json 0.123s