File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/org/piccode/rt Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public void function() {
2020 var func = ast .nodes .getFirst ();
2121
2222 assertFalse (!(func instanceof FunctionAst ));
23- var node = func .execute ();
23+ var node = func .execute (null );
2424 assertTrue (node instanceof PiccodeClosure );
2525 }
2626
@@ -35,7 +35,7 @@ public void variable() {
3535 assertFalse (!(let instanceof VarDecl ));
3636
3737 Context .top .pushStackFrame (ast );
38- var node = let .execute ();
38+ var node = let .execute (null );
3939 Context .top .dropStackFrame ();
4040 assertTrue (node instanceof PiccodeNumber num && num .toString ().equals ("1" ));
4141 }
@@ -47,7 +47,7 @@ public void importModule() {
4747 assertEquals (ast .nodes .size (), 1 );
4848 var import_ = ast .nodes .getFirst ();
4949 assertFalse (!(import_ instanceof ImportAst ));
50- var node = import_ .execute ();
50+ var node = import_ .execute (null );
5151 assertTrue (node instanceof PiccodeBoolean bool && bool .toString ().equals ("true" ));
5252 }
5353
You can’t perform that action at this time.
0 commit comments