mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
If a test expected an error and found at least one, it would not fail on any other expected errors that didn't occur. Also, some tests were expecting a compile time error message even though the test script doesn't validate those (yet). The test function was getting monolithic, so I went ahead and split it into a separate little class.
3 lines
49 B
Plaintext
3 lines
49 B
Plaintext
Fn.new { IO.print("ok") // expect error
|
|
}.call()
|