This adds a few tests for parse tree validation, and further restructures the existing test logic. The common_test.go file now contains helper methods common to all tests in the mu/compiler package. I've also adopted a naming convention for the testdata/ directory to keep some sanity; namely, each directory uses "(good|bad)_testname[_seqnum]" as a naming scheme. |
||
---|---|---|
.. | ||
compiler | ||
parsetree | ||
.muspace |