make demo more expressive
This commit is contained in:
parent
2428de10ed
commit
d44c8080bf
2 changed files with 23 additions and 6 deletions
|
|
@ -33,7 +33,7 @@ oop.inherits(Mode, TextMode);
|
|||
|
||||
|
||||
if (state == "start") {
|
||||
if (line.match("Scenario:|Feature:|Scenario\ Outline:")) {
|
||||
if (line.match("Scenario:|Feature:|Scenario\ Outline:|Background:")) {
|
||||
indent += space2;
|
||||
} else if(line.match("(Given|Then).+(:)$|Examples:")) {
|
||||
indent += space2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue