update tests
This commit is contained in:
parent
fa06482e72
commit
f621e532b2
4 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue