Skip to content

Commit 1f662d9

Browse files
committed
test: Fix the broken test
1 parent c2b1266 commit 1f662d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/piccode/rt/Runtime.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void variable() {
3434

3535
assertFalse(!(let instanceof VarDecl));
3636

37-
Context.top.pushStack();
37+
Context.top.pushStackFrame(ast);
3838
var node = let.execute();
3939
Context.top.dropStackFrame();
4040
assertTrue(node instanceof PiccodeNumber num && num.toString().equals("1"));

0 commit comments

Comments
 (0)