The current test tests for successful processing of valid constructs, but it does not test for correct detection of invalid constructs. To do these kinds of tests we need a text framework that can detect when an error is reported and compare it to the expected error.
The current test tests for successful processing of valid constructs, but it does not test for correct detection of invalid constructs. To do these kinds of tests we need a text framework that can detect when an error is reported and compare it to the expected error.