diff --git a/features/steps/core.py b/features/steps/core.py index 3e0b1de8..ba5b3abe 100644 --- a/features/steps/core.py +++ b/features/steps/core.py @@ -18,7 +18,9 @@ def _parse_args(command): nargs = [] concats = [] for a in command.split()[1:]: - if a.startswith("'"): + if a.startswith("'") and a.endswith("'"): + nargs.append(a.strip("'")) + elif a.startswith("'"): concats.append(a.strip("'")) elif a.endswith("'"): concats.append(a.strip("'"))