diff --git a/Triangle.Compiler/src/test/java/triangle/syntacticAnalyser/TestScanner.java b/Triangle.Compiler/src/test/java/triangle/syntacticAnalyser/TestScanner.java index ab10811..c2c3c0b 100644 --- a/Triangle.Compiler/src/test/java/triangle/syntacticAnalyser/TestScanner.java +++ b/Triangle.Compiler/src/test/java/triangle/syntacticAnalyser/TestScanner.java @@ -22,7 +22,7 @@ public class TestScanner { @Test public void testHiNewComment() { - compileExpectFailure("/hi-newcomment.tri"); + compileExpectSuccess("/hi-newcomment.tri"); } @@ -43,6 +43,12 @@ public class TestScanner { compileExpectFailure("/repeatuntil.tri"); } + @Test + public void testAdd() { + //compileExpectFailure("/addd.tri"); //fail here! + compileExpectFailure("/add.tri"); + } + private void compileExpectSuccess(String filename) {