Open
Description
I have a language that generates files with whitespaces in the file name. However, when I write an Xpect test for this, the line
XPECT generated file MyFile 1.foo ---
creates an error because only MyFile
is parsed as the parameter and 1.foo
is left over. As a result, my correctly working code generator produces a test failure.
I believe, the fix would be to replace the following line:
with
@ParameterParser(syntax = "('file' arg2=STRING)?")
because then I could use a quoted string to provide my file name with white spaces in.
Metadata
Metadata
Assignees
Labels
No labels