mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 06:08:41 +01:00
Start testing errors.
- Add support to test runner for compile errors. - Include line number in tokens. - Exit with non-zero on compile error.
This commit is contained in:
1
test/undefined_global.wren
Normal file
1
test/undefined_global.wren
Normal file
@ -0,0 +1 @@
|
||||
io.write(notDefined) // expect error
|
||||
3
test/undefined_local.wren
Normal file
3
test/undefined_local.wren
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
io.write(notDefined) // expect error
|
||||
}
|
||||
Reference in New Issue
Block a user