fixed tests that were failing because of the last modifications

This commit is contained in:
Francesco Cozzuto
2023-01-13 10:40:18 +01:00
parent 920b88c006
commit 2c7e0ae2ba
15 changed files with 29 additions and 29 deletions
+2 -2
View File
@@ -6,10 +6,10 @@
#bytecode
PUSHFUN fun, 0;
ASS "X";
POP 1;
JUMP end;
fun:
RETURN 0;
end:
ASS "X";
POP 1;
EXIT;
+2 -2
View File
@@ -6,12 +6,12 @@
#bytecode
PUSHFUN fun, 0;
ASS "X";
POP 1;
JUMP end;
fun:
PUSHSTR "Hello, world!";
POP 1;
RETURN 0;
end:
ASS "X";
POP 1;
EXIT;
+2 -2
View File
@@ -9,8 +9,6 @@
#bytecode
PUSHFUN fun, 0;
ASS "X";
POP 1;
JUMP end;
fun:
PUSHSTR "Hello, world!";
@@ -19,4 +17,6 @@ fun:
RETURN 1;
RETURN 0;
end:
ASS "X";
POP 1;
EXIT;
+2 -2
View File
@@ -8,8 +8,6 @@
#bytecode
PUSHFUN fun, 1;
ASS "nop";
POP 1;
JUMP end;
fun:
ASS "a";
@@ -18,4 +16,6 @@ fun:
RETURN 1;
RETURN 0;
end:
ASS "nop";
POP 1;
EXIT;
+2 -2
View File
@@ -8,8 +8,6 @@
#bytecode
PUSHFUN fun, 2;
ASS "add";
POP 1;
JUMP end;
fun:
ASS "b";
@@ -22,4 +20,6 @@ fun:
RETURN 1;
RETURN 0;
end:
ASS "add";
POP 1;
EXIT;
+2 -2
View File
@@ -8,8 +8,6 @@
#bytecode
PUSHFUN fun, 1;
ASS "nop";
POP 1;
JUMP end;
fun:
PUSHVAR "None";
@@ -20,4 +18,6 @@ fun:
RETURN 1;
RETURN 0;
end:
ASS "nop";
POP 1;
EXIT;
+2 -2
View File
@@ -8,8 +8,6 @@
#bytecode
PUSHFUN fun, 2;
ASS "add";
POP 1;
JUMP end;
fun:
ASS "b";
@@ -24,4 +22,6 @@ fun:
RETURN 1;
RETURN 0;
end:
ASS "add";
POP 1;
EXIT;
+2 -2
View File
@@ -8,8 +8,6 @@
#bytecode
PUSHFUN fun, 2;
ASS "add";
POP 1;
JUMP end;
fun:
PUSHVAR "int";
@@ -24,4 +22,6 @@ fun:
RETURN 1;
RETURN 0;
end:
ASS "add";
POP 1;
EXIT;
+2 -2
View File
@@ -8,8 +8,6 @@
#bytecode
PUSHFUN fun, 2;
ASS "add";
POP 1;
JUMP end;
fun:
PUSHVAR "int";
@@ -26,4 +24,6 @@ fun:
RETURN 1;
RETURN 0;
end:
ASS "add";
POP 1;
EXIT;
+2 -2
View File
@@ -8,8 +8,6 @@
#bytecode
PUSHFUN fun, 2;
ASS "add";
POP 1;
JUMP end;
fun:
PUSHVAR "bool";
@@ -30,4 +28,6 @@ fun:
RETURN 1;
RETURN 0;
end:
ASS "add";
POP 1;
EXIT;
+2 -2
View File
@@ -7,8 +7,6 @@
#bytecode
PUSHFUN nop, 1;
ASS "nop";
POP 1;
JUMP nop_end;
nop:
PUSHTYP;
@@ -22,4 +20,6 @@ not_none:
POP 1;
RETURN 0;
nop_end:
ASS "nop";
POP 1;
EXIT;
+2 -2
View File
@@ -7,8 +7,6 @@
#bytecode
PUSHFUN nop, 2;
ASS "nop";
POP 1;
JUMP nop_end;
nop:
ASS "b";
@@ -24,4 +22,6 @@ not_none:
POP 1;
RETURN 0;
nop_end:
ASS "nop";
POP 1;
EXIT;
+2 -2
View File
@@ -7,8 +7,6 @@
#bytecode
PUSHFUN nop, 2;
ASS "nop";
POP 1;
JUMP nop_end;
nop:
PUSHTYP;
@@ -24,4 +22,6 @@ not_none:
POP 1;
RETURN 0;
nop_end:
ASS "nop";
POP 1;
EXIT;
+2 -2
View File
@@ -7,8 +7,6 @@
#bytecode
PUSHFUN nop, 1;
ASS "nop";
POP 1;
JUMP nop_end;
nop:
PUSHTYP;
@@ -24,4 +22,6 @@ not_none:
POP 1;
RETURN 0;
nop_end:
ASS "nop";
POP 1;
EXIT;