Test fallback choice parsing

This commit is contained in:
2019-03-17 17:20:28 -06:00
parent 5e6018fadb
commit e133af83d6
2 changed files with 5 additions and 1 deletions

View File

@@ -106,5 +106,7 @@ class ParserTest extends utest.Test {
assertNextExpr(EChoice(0, true, None, None, 1, new Output([Text("Simplest possible choice")]),None));
assertNextExpr(EChoice(1, false, None, Some("condition"), 2, new Output([Text("Choice that ends with a divert")]),Some("target")));
assertNextExpr(EChoice(2, true, None, None, 1, new Output([]),Some("fallback_choice")));
assertNextExpr(EChoice(3, true, None, None, 1, new Output([]),Some("")));
}
}