Updated the unit tests for ParserTests and the expected input and output for the respective tests to match the current state of Processing.

This commit is contained in:
Grant Cahill
2013-08-08 06:56:49 -07:00
parent f26803fe7a
commit 2dd6a9c1a0
31 changed files with 706 additions and 579 deletions

View File

@@ -184,7 +184,7 @@ public class ParserTests {
@Test
public void bug820() {
expectCompilerException("bug820", "x1 is already defined in setup()", 21);
expectCompilerException("bug820", "error: variable x1 is already defined in method setup()", 18);
}
@Test
@@ -194,7 +194,7 @@ public class ParserTests {
@Test
public void bug1145() {
expectCompilerException("bug1145", "'.' expected", 4);
expectCompilerException("bug1145", "error: '.' expected", 6);
}
@Test