Behat / Gherkin

Gherkin parser, written in PHP for Behat project
MIT License
1.05k stars 89 forks source link

Inconsistent cells count throws low-level error #212

Closed ciaranmcnulty closed 3 years ago

ciaranmcnulty commented 3 years ago

If we have a table that isn't rectangular:

| foo |
| bar | baz |

we get a specific exception that is not a ParserException - it should probably be caught and a ParserException thrown

Removing this line will produce a failing test https://github.com/Behat/Gherkin/blob/master/tests/Behat/Gherkin/Cucumber/CompatibilityTest.php#L46