added test case for new comment

This commit is contained in:
simonkellet 2022-09-20 18:22:25 +01:00
parent d28b3c7403
commit cd280e3c4b

View File

@ -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) {