diff --git a/tests/00_err-lex.test b/tests/00_err-lex.test index 54bcf30..b1101ad 100644 --- a/tests/00_err-lex.test +++ b/tests/00_err-lex.test @@ -1 +1 @@ -~ +~ # Error on line 1 col 0: Unrecognized char "~". diff --git a/tests/01_err-syntax.test b/tests/01_err-syntax.test index 9e3d824..fdc5b8a 100644 --- a/tests/01_err-syntax.test +++ b/tests/01_err-syntax.test @@ -1 +1 @@ -a = 1312; +a = 1312; # Error on line 1 col 2: Unbound variable "a". diff --git a/tests/04_err-unbound-variable.test b/tests/04_err-unbound-variable.test index c865854..34d694b 100644 --- a/tests/04_err-unbound-variable.test +++ b/tests/04_err-unbound-variable.test @@ -1 +1 @@ -foo = 1312; # Error on line 1 col 4 : unbound variable 'foo' +foo = 1312; # Error on line 1 col 4: Unbound variable "foo". diff --git a/tests/05_err-unbound-variable.test b/tests/05_err-unbound-variable.test index 4b4aae0..da088d8 100644 --- a/tests/05_err-unbound-variable.test +++ b/tests/05_err-unbound-variable.test @@ -1 +1 @@ -int foo = bar; # Error on line 1 col 10: unbound variable 'bar' \ No newline at end of file +int foo = bar; # Error on line 1 col 10: Unbound variable "bar". diff --git a/tests/06_warn-unassigned-variable.test b/tests/06_warn-unassigned-variable.test index 7c6ab3c..cec8784 100644 --- a/tests/06_warn-unassigned-variable.test +++ b/tests/06_warn-unassigned-variable.test @@ -1,2 +1,2 @@ int foo; -int bar = foo; # Warning on line 2 col 10 : unassigned variable 'foo' \ No newline at end of file +int bar = foo; # Warning on line 2 col 10: Unassigned variable "foo". diff --git a/tests/07_err-type-const.test b/tests/07_err-type-const.test index b210293..b7b4e11 100644 --- a/tests/07_err-type-const.test +++ b/tests/07_err-type-const.test @@ -1 +1 @@ -int foo = true; # Error on line 1 col 10: expected int but given bool \ No newline at end of file +int foo = true; # Error on line 1 col 10: Expected int but given bool. diff --git a/tests/08_err-type-variable.test b/tests/08_err-type-variable.test index 4b6f4b4..b770043 100644 --- a/tests/08_err-type-variable.test +++ b/tests/08_err-type-variable.test @@ -1,2 +1,2 @@ int foo = 1312; -bool bar = foo; # Error on line 2 col 11: expected bool but given int \ No newline at end of file +bool bar = foo; # Error on line 2 col 11: Expected bool but given int.