make demo more expressive

This commit is contained in:
Patrick Nevels 2014-01-25 20:03:49 -06:00
commit d44c8080bf
2 changed files with 23 additions and 6 deletions

View file

@ -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;