Fix the second test that breaks because of phantom node

This commit is contained in:
Patrick Niklaus 2016-05-03 23:12:34 +02:00
parent 82c3bc7b0e
commit 04eef0463a
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B

View File

@ -58,19 +58,20 @@ Feature: Basic Routing
@repeated @repeated
Scenario: Check handling empty values Scenario: Check handling empty values
Given the node map Given the node map
| f | | | | | f | | | x | | |
| b | c | d | e | | b | c | d | e | 1 | g |
| a | | | | | a | | | y | | |
And the ways And the ways
| nodes | name | | nodes | name | # |
| ab | first | | ab | first | |
| bc | first | | bc | first | |
| cd | first | | cd | first | |
| de | second | | deg | second | |
| bf | third | | bf | third | |
| xey | cross |we need this because phantom node segments are not considered for the summary |
When I route I should get When I route I should get
| from | to | route | summary | | from | to | route | summary |
| a | e | first,first,second,second | first, second | | a | 1 | first,first,second,second | first, second |