From: Sarah Hoffmann Date: Mon, 18 Nov 2024 11:34:14 +0000 (+0100) Subject: adapt BDD tests to changed simplification X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/bf683d434bcbd57bf146c05047adc88a62f79387?hp=f1ba28531919a681614d95fd2e3e524cb9ea2ffa adapt BDD tests to changed simplification --- diff --git a/test/bdd/api/reverse/geometry.feature b/test/bdd/api/reverse/geometry.feature index 33fadbbd..aac82807 100644 --- a/test/bdd/api/reverse/geometry.feature +++ b/test/bdd/api/reverse/geometry.feature @@ -28,7 +28,7 @@ Feature: Geometries for reverse geocoding | 1 | 0.9 | Then results contain | geotext | - | ^POLYGON\(\(9.5225302 47.138066, ?9.5225348 47.1379282, ?9.5227608 47.1379757, ?9.5227337 47.1380692, ?9.5225302 47.138066\)\) | + | ^POLYGON\(\([0-9. ]+, ?[0-9. ]+, ?[0-9. ]+, ?[0-9. ]+(, ?[0-9. ]+)?\)\) | Scenario: For polygons return the centroid as center point