You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dart_gherkin parser fails to parse certain multiline strings.
The following scenario works (using x):
Feature: Conway's Game of Life
Scenario: Single cell universe
Given the following universe:
"""
x
"""
The following scenario fails (using *):
Feature: Conway's Game of Life
Scenario: Single cell universe
Given the following universe:
"""
*
"""
Stacktrace:
Error while parsing feature file: './features/GameOfLife.feature'
Instance of 'GherkinSyntaxException'
package:gherkin/src/gherkin/parser.dart 122:9 GherkinParser._parseBlock
package:gherkin/src/gherkin/parser.dart 109:15 GherkinParser._parseBlock
package:gherkin/src/gherkin/parser.dart 109:15 GherkinParser._parseBlock
package:gherkin/src/gherkin/parser.dart 109:15 GherkinParser._parseBlock
package:gherkin/src/gherkin/parser.dart 109:15 GherkinParser._parseBlock
package:gherkin/src/gherkin/parser.dart 55:7 GherkinParser.parseFeatureFile
===== asynchronous gap ===========================
package:gherkin/src/test_runner.dart 47:43 GherkinRunner.execute
===== asynchronous gap ===========================
test/acceptance_test.dart 11:26 main
===== asynchronous gap ===========================
package:test_api RemoteListener.start
package:test_core/src/runner/plugin/remote_platform_helpers.dart 35:20 serializeSuite
data:... 11:21 main
Failed to load "/home/christian.hujer/git/nelkinda/gameoflife-dart/test/acceptance_test.dart": Instance of 'GherkinSyntaxException'
The text was updated successfully, but these errors were encountered:
christianhujer
changed the title
Parser fails to parse certain Gherkin multiline strings
Parser fails to parse certain Gherkin multiline strings that start with an asterisk
Aug 4, 2020
The
dart_gherkin
parser fails to parse certain multiline strings.The following scenario works (using
x
):The following scenario fails (using
*
):Stacktrace:
The text was updated successfully, but these errors were encountered: