First strides towards parsing Output expressions

This commit is contained in:
2019-03-16 19:26:40 -06:00
parent d4946f0915
commit 901f6852ea
4 changed files with 74 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ class ParserTest extends utest.Test {
var parser = new Parser();
ast = parser.parseFile('examples/parsing/output.hank');
assertNextExpr(EOutput(new Output([Text("This file contains test cases for output expression parsing.")])));
assertNextExpr(EOutput(new Output([Text("A line won't be interrupted or anything.")])));
assertNextExpr(EOutput(new Output([Text("A line won't be interrupted or anything.")])));
}

View File

@@ -3,6 +3,6 @@ import utest.Test;
class TestMain extends Test {
public static function main() {
utest.UTest.run([new HInterfaceTest(), new HankBufferTest()/*, new ParserTest()*/]);
utest.UTest.run([new HInterfaceTest(), new HankBufferTest(), new ParserTest()]);
}
}