charlierudolph / cucumber_lint

A linter and formatter for cucumber features
MIT License
8 stars 4 forks source link

Table with spacing error #13

Closed dhakiki closed 8 years ago

dhakiki commented 9 years ago

running cucumber lint on the following test throws a "fix table linespace error on the first row:

  Scenario: Trying to create an office with missing required fields
    When I create an office with the attributes
      | Name    |             |
      | Address | 123 B st    |
      | Status  | Active      |
    Then I see the error "can't be blank"
    And no offices were added to the database
charlierudolph commented 8 years ago

That looks like something that should be fixed. If you use the --fix flag I expect it to go to

 | Name    |          |
 | Address | 123 B st |
 | Status  | Active   |