Skip to content

Commit b3ee9ca

Browse files
Add test to demonstrate issue #964 - Data Table column ignored without closing delimiter
Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
1 parent b437dc9 commit b3ee9ca

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Tests/Reqnroll.Specs/Features/Parser/ParsingErrors.feature

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,18 @@ Scenario: Duplicated background
159159
| line | error |
160160
| 6 | got 'Background:' |
161161

162+
Scenario: Table header without trailing delimiter
163+
Given there is a Gherkin file as
164+
"""
165+
Feature: Table without trailing delimiter
166+
167+
Scenario: Table without trailing delimiter
168+
Given a table
169+
| EffectiveDate | InterestRate
170+
| 1999-01-01 | 10.00 |
171+
"""
172+
When the file is parsed
173+
Then the following errors are provided
174+
| line | error |
175+
| 6 | inconsistent cell count within the table |
176+

0 commit comments

Comments
 (0)