Closed
Description
When there are either blank lines or comments between rows of a table, for example a feature file that looks something like this:
Feature: Test Formatter
Scenario: Comment between rows
Given table my_table
| col a | col b |
| 1 | 2 |
# A comment about the row below
| 3 | 4 |
On the latest 3.5.0 (as well as earlier) version of ghokin the 3rd row of the table gets formatted as if the column width should be sized interdependently of the rest of the table.
$ ghokin fmt stdout test.feature
Produces:
Feature: Test Formatter
Scenario: Comment between rows
Given table my_table
| col a | col b |
| 1 | 2 |
# A comment about the row below
| 3 | 4 |
Metadata
Metadata
Assignees
Labels
No labels