diff --git a/tests/14_err-too-much-args.test b/tests/14_err-too-much-args.test index 62a0bbc..af61c67 100644 --- a/tests/14_err-too-much-args.test +++ b/tests/14_err-too-much-args.test @@ -3,5 +3,5 @@ int foo (int a) { } void main () { - foo(13, 12); # Error on line 6 col 8: Expected 1 arguments but given 2. + foo(13, 12); # Error on line 6 col 4: Expected 1 arguments but given 2. } diff --git a/tests/15_err-args-missing.test b/tests/15_err-args-missing.test index 40283eb..94a308e 100644 --- a/tests/15_err-args-missing.test +++ b/tests/15_err-args-missing.test @@ -3,5 +3,5 @@ int foo (int a, int b) { } void main () { - foo(42); # Error on line 6 col 8: Expected 2 arguments but given 1. + foo(42); # Error on line 6 col 4: Expected 2 arguments but given 1. } diff --git a/tests/17_err-losing-variable.test b/tests/17_err-losing-variable.test index d876cfb..36543ed 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); # Error on line 6 col 17: Expected int but given void. + void b = foo(1); # Error on line 6 col 13: Expected int but given void. } diff --git a/tests/21_bad-str.test b/tests/21_bad-str.test index ca7e9e3..3eb344d 100644 --- a/tests/21_bad-str.test +++ b/tests/21_bad-str.test @@ -1,4 +1,4 @@ void main () { - # Error on line 3 col 28: String is not terminated. + # Error on line 3 col 27: String is not terminated. str a = "gland2lait; }