update tests

This commit is contained in:
Mylloon 2022-12-27 17:07:32 +01:00
parent fa06482e72
commit f621e532b2
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 4 additions and 4 deletions

View file

@ -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.
}

View file

@ -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.
}

View file

@ -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.
}

View file

@ -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;
}