From: Sarah Hoffmann Date: Mon, 26 Feb 2018 22:41:57 +0000 (+0100) Subject: fix more behave table formatting errors X-Git-Tag: v3.2.0~118 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/36fa21d7ce88a71cb6ac723b741b9fb5085f1993 fix more behave table formatting errors --- diff --git a/test/bdd/db/import/parenting.feature b/test/bdd/db/import/parenting.feature index 401a58f1..87467fd2 100644 --- a/test/bdd/db/import/parenting.feature +++ b/test/bdd/db/import/parenting.feature @@ -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 diff --git a/test/bdd/osm2pgsql/update/simple.feature b/test/bdd/osm2pgsql/update/simple.feature index 33c21039..e8d96d44 100644 --- a/test/bdd/osm2pgsql/update/simple.feature +++ b/test/bdd/osm2pgsql/update/simple.feature @@ -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' |