Closed cholick closed 1 year ago
given: def a = 1 when:
In the above code, when is not highlighted.
when
given: when: def a = 1 a++ then: a == 2
In the above code, the then is highlighted as given must be followed by... It looks like the when is being parsed as part of the given block.
then
given must be followed by...
Example of incorrect highlighting
In the above code,
when
is not highlighted.Example of incorrect error checking
In the above code, the
then
is highlighted asgiven must be followed by...
It looks like the when is being parsed as part of the given block.