Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
(cherry picked from commit 9c576d3)
  • Loading branch information
BenMorel committed Oct 9, 2022
1 parent bb73ae1 commit 725789f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/GeometryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ public function testDistance(string $geometry1, string $geometry2, float $distan
$geometry1 = Geometry::fromText($geometry1);
$geometry2 = Geometry::fromText($geometry2);

self::assertSame($distance, $geometry1->distance($geometry2));
self::assertEqualsWithDelta($distance, $geometry1->distance($geometry2), 1e-14);
}

public function providerDistance() : array
Expand Down

0 comments on commit 725789f

Please sign in to comment.