]> git.openstreetmap.org Git - nominatim.git/commitdiff
adapt BDD tests to changed simplification
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 18 Nov 2024 11:34:14 +0000 (12:34 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 18 Nov 2024 12:02:35 +0000 (13:02 +0100)
test/bdd/api/reverse/geometry.feature

index 33fadbbdff5a106d26c8679f8c0fbf31d270b6be..aac82807031fa91ce5543de7bbf3300d7d983aff 100644 (file)
@@ -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