diff --git a/lib/src/bdd_line.dart b/lib/src/bdd_line.dart index 1631010..c585967 100644 --- a/lib/src/bdd_line.dart +++ b/lib/src/bdd_line.dart @@ -62,7 +62,7 @@ const scenarioMarkers = ['Scenario:', 'Example:']; const scenarioOutlineMarkers = ['Scenario Outline:']; const stepMarkers = ['Given', 'When', 'Then', 'And', 'But']; const examplesMarkers = ['|']; -const examplesTitleMarkers = ['Examples:', 'Scenarios']; +const examplesTitleMarkers = ['Examples:', 'Scenarios:']; String _removeLinePrefix(String rawLine) { final lines = rawLine.split(' '); diff --git a/test/scenario_outline_test.dart b/test/scenario_outline_test.dart index 2f7cdd4..3342263 100644 --- a/test/scenario_outline_test.dart +++ b/test/scenario_outline_test.dart @@ -57,7 +57,7 @@ Feature: Testing feature Scenario Outline: params Given there are mixed parameters - Examples: + Scenarios: | int | String | Custom | | 12 | '5' | Icons.add | | '20' | 5.0 | MyClass |