diff options
Diffstat (limited to 'src/steps.rs')
-rw-r--r-- | src/steps.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/steps.rs b/src/steps.rs index 1cbdfe5..c2e8374 100644 --- a/src/steps.rs +++ b/src/steps.rs @@ -55,7 +55,7 @@ impl ScenarioStep { _ => return Err(SubplotError::NoStepKeyword(text.to_string())), }; - let kind = match keyword { + let kind = match keyword.to_ascii_lowercase().as_str() { "given" => StepKind::Given, "when" => StepKind::When, "then" => StepKind::Then, |