]> git.openstreetmap.org Git - nominatim.git/commitdiff
add test for structured query with leading spaces
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 19 Feb 2025 08:38:10 +0000 (09:38 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 19 Feb 2025 09:31:36 +0000 (10:31 +0100)
test/bdd/api/search/structured.feature

index a1dd5b83d4621b07dd670f3311dbf8d165cc0cce..1d60992335fe2657025c947f0e74f28f85414c19 100644 (file)
@@ -67,3 +67,13 @@ Feature: Structured search queries
         Then result addresses contain
           | town |
           | Vaduz |
+
+    #3651
+    Scenario: Structured search with surrounding extra characters
+        When sending xml search query "" with address
+          | street             | city  | postalcode |
+          | "19 Am schrägen Weg" | "Vaduz" | "9491"  |
+        Then result addresses contain
+          | house_number | road |
+          | 19           | Am Schrägen Weg |
+