Skip to content

Commit 8ae9aba

Browse files
authored
Fix parsing on feature files on other gherkin parser (#6992)
1 parent d3638ac commit 8ae9aba

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

features/car/permissive.feature

Whitespace-only changes.

features/guidance/collapse.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ Feature: Collapse
10611061
# i
10621062
# """
10631063

1064-
And the node locations
1064+
Given the node locations
10651065
| node | lat | lon | #id |
10661066
| a | -33.9644254 | 151.1378673 | 33226063 |
10671067
| b | -33.9644373 | 151.1377172 | 1072787030 |

features/guidance/roundabout-left-sided.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Feature: Basic Roundabout
99
"""
1010

1111
Scenario: Roundabout exit counting for left sided driving
12-
And a grid size of 10 meters
12+
Given a grid size of 10 meters
1313
And the node map
1414
"""
1515
a
@@ -33,7 +33,7 @@ Feature: Basic Roundabout
3333
| a,h | ab,gh,gh | depart,roundabout turn right exit-3,arrive |
3434

3535
Scenario: Mixed Entry and Exit
36-
And a grid size of 10 meters
36+
Given a grid size of 10 meters
3737
And the node map
3838
"""
3939
c a

features/testbot/loop.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Feature: Avoid weird loops caused by rounding errors
7575

7676
@412 @via
7777
Scenario: Avoid weird loops 3
78-
And the node map
78+
Given the node map
7979
"""
8080
a
8181
b e

features/testbot/snap_intersection.feature

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -401,12 +401,12 @@ Feature: Snapping at intersections
401401
Given the extract extra arguments "--small-component-size=4"
402402

403403
And the ways
404-
| nodes | oneway |
405-
| ab | no |
406-
| bc | no |
407-
| cd | no |
408-
| fed | no |
409-
| bg | yes | # small SCC
404+
| nodes | oneway | # comment |
405+
| ab | no | |
406+
| bc | no | |
407+
| cd | no | |
408+
| fed | no | |
409+
| bg | yes | small SCC |
410410

411411
And the relations
412412
| type | way:from | way:to | node:via | restriction |
@@ -437,14 +437,14 @@ Feature: Snapping at intersections
437437
Given the extract extra arguments "--small-component-size=4"
438438

439439
And the ways
440-
| nodes | oneway |
441-
| ab | no |
442-
| bc | no |
443-
| cd | no |
444-
| fed | no |
445-
| ghi | no |
446-
| jkl | no |
447-
| bm | yes | # small SCC
440+
| nodes | oneway | # comment |
441+
| ab | no | |
442+
| bc | no | |
443+
| cd | no | |
444+
| fed | no | |
445+
| ghi | no | |
446+
| jkl | no | |
447+
| bm | yes | small SCC |
448448

449449
And the relations
450450
| type | way:from | way:to | node:via | restriction |

0 commit comments

Comments
 (0)