Skip to content

Handle missing newlines or trailing spaces at end of file #8

@jhorstmann

Description

@jhorstmann

I think the parser currently fails if the last line in the feature file does not end with a newline. There are two possible solutions:

  • Change the grammar to handle EOF same as EOL when the token can appear at the end of the file
  • Wrap the reader so that it automatically appends a missing EOL at the end of the file

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions