diff --git a/tests/17_err-losing-variable.test b/tests/17_err-losing-variable.test index f74d1f1..0436ae0 100644 --- a/tests/17_err-losing-variable.test +++ b/tests/17_err-losing-variable.test @@ -3,5 +3,5 @@ int foo(int a) { } void main() { - void b = foo(1); + void b = foo(1); # Error on line 6 col 17: Expected int but given void. } diff --git a/tests/18_err-no-type-arg.test b/tests/18_err-no-type-arg.test index ea6ea37..a391c2f 100644 --- a/tests/18_err-no-type-arg.test +++ b/tests/18_err-no-type-arg.test @@ -1,3 +1,3 @@ -int main(a) { +int main(a) { # Error on line 1 col 9: Syntax error. return a; }