fix more behave table formatting errors

This commit is contained in:
Sarah Hoffmann
2018-02-26 23:41:57 +01:00
parent f1a388700f
commit 36fa21d7ce
2 changed files with 10 additions and 10 deletions

View 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

View 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' |