]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix more behave table formatting errors
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 26 Feb 2018 22:41:57 +0000 (23:41 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 26 Feb 2018 22:41:57 +0000 (23:41 +0100)
test/bdd/db/import/parenting.feature
test/bdd/osm2pgsql/update/simple.feature

index 401a58f14676dd08425bb6395c8b4ae42b6fa582..87467fd287a22603d2c1c10f9c8384adfcba6f26 100644 (file)
@@ -20,12 +20,12 @@ Feature: Parenting of objects
          | N2     | W1 |
         When searching for "4 galoo"
         Then results contain
-         | ID | osm_type | osm_id | langaddress
-         | 0  | N        | 1      | 4, galoo, 12345
+         | ID | osm_type | osm_id | langaddress |
+         | 0  | N        | 1      | 4, galoo, 12345 |
         When searching for "5 galoo"
         Then results contain
-         | ID | osm_type | osm_id | langaddress
-         | 0  | N        | 2      | 5, galoo, 99999
+         | ID | osm_type | osm_id | langaddress |
+         | 0  | N        | 2      | 5, galoo, 99999 |
 
     Scenario: Address without tags, closest street
         Given the scene roads-with-pois
index 33c21039e1425a5a4dc4487407de86a643d2720e..e8d96d44e3e372733b5abf1247314452d50c0159 100644 (file)
@@ -9,10 +9,10 @@ Feature: Update of simple objects by osm2pgsql
           n2 Tplace=locality,name=spotty
           """
         Then place contains
-          | object     | type       | name
-          | N1:tourism | hotel      | 'name' : 'foo'
-          | N1:amenity | restaurant | 'name' : 'foo'
-          | N2:place   | locality   | 'name' : 'spotty'
+          | object     | type       | name+name |
+          | N1:tourism | hotel      | foo |
+          | N1:amenity | restaurant | foo |
+          | N2:place   | locality   | spotty |
         When updating osm data
           """
           n1 dV Ttourism=hotel,name=foo
@@ -21,6 +21,6 @@ Feature: Update of simple objects by osm2pgsql
         Then place has no entry for N1:amenity
         And place has no entry for N2
         And place contains
-          | object     | class   | type       | name
-          | N1:tourism | tourism | hotel      | 'name' : 'foo'
+          | object     | class   | type       | name |
+          | N1:tourism | tourism | hotel      | 'name' : 'foo' |