Skip to content
Draft
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Tests/Reqnroll.Specs/Features/Parser/ParsingErrors.feature
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,20 @@ Scenario: Duplicated background
| line | error |
| 6 | got 'Background:' |

Scenario: Table without trailing delimiter on any row
# This test demonstrates issue #964: when all rows are missing the trailing pipe delimiter,
# the parser silently ignores the last column instead of reporting an error.
# Expected behavior: should report an error or warning about missing trailing delimiter
# Actual behavior: no error is reported, and the last column is silently ignored
Given there is a Gherkin file as
"""
Feature: Table without trailing delimiter

Scenario: Table without trailing delimiter
Given a table
| EffectiveDate | InterestRate
| 1999-01-01 | 10.00
"""
When the file is parsed
Then no parsing error is reported
Comment thread
304NotModified marked this conversation as resolved.

Loading