@@ -363,8 +363,8 @@ public void testParseStatement() throws IllegalCharacterException {
363363 var temp3 = new SyntaxTreeNode (SyntaxTreeNode .Type .EXPR , "" );
364364 temp3 .addChild (new SyntaxTreeNode (SyntaxTreeNode .Type .NUMBER , "0" ));
365365 temp2 .addChild (temp3 );
366- temp2 .addChild (new SyntaxTreeNode (SyntaxTreeNode .Type .SYMBOL , ";" ));
367366 temp .addChild (temp2 );
367+ temp .addChild (new SyntaxTreeNode (SyntaxTreeNode .Type .SYMBOL , ";" ));
368368 expectedTree .addChild (temp );
369369 assertEquals (expectedTree , tree );
370370 assertEquals (4 , pos );
@@ -384,8 +384,8 @@ public void testParseStatement() throws IllegalCharacterException {
384384 temp4 .addChild (new SyntaxTreeNode (SyntaxTreeNode .Type .BOOL , "true" ));
385385 temp3 .addChild (temp4 );
386386 temp2 .addChild (temp3 );
387- temp2 .addChild (new SyntaxTreeNode (SyntaxTreeNode .Type .SYMBOL , ";" ));
388387 temp .addChild (temp2 );
388+ temp .addChild (new SyntaxTreeNode (SyntaxTreeNode .Type .SYMBOL , ";" ));
389389 expectedTree .addChild (temp );
390390 assertEquals (expectedTree , tree );
391391 assertEquals (4 , pos );
@@ -407,8 +407,8 @@ public void testParseStatement() throws IllegalCharacterException {
407407 temp4 .addChild (new SyntaxTreeNode (SyntaxTreeNode .Type .SYMBOL , ")" ));
408408 temp3 .addChild (temp4 );
409409 temp2 .addChild (temp3 );
410- temp2 .addChild (new SyntaxTreeNode (SyntaxTreeNode .Type .SYMBOL , ";" ));
411410 temp .addChild (temp2 );
411+ temp .addChild (new SyntaxTreeNode (SyntaxTreeNode .Type .SYMBOL , ";" ));
412412 expectedTree .addChild (temp );
413413 assertEquals (expectedTree , tree );
414414 assertEquals (6 , pos );
0 commit comments