diff --git a/tests/loop_while_test.aer b/tests/loop_while_test.aer index 031a913..539378e 100644 --- a/tests/loop_while_test.aer +++ b/tests/loop_while_test.aer @@ -7,7 +7,7 @@ class Program { public void main() { int $a; - int $b = 2; + int $c = 2; while($a = $this->test()) { int $b = $a; if($b == 6) { @@ -17,7 +17,7 @@ class Program { } print("$b\n"); } - print("$b\n"); + print("$c\n"); } }