Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rudimentary tests for cljParser.getNamespace
These are fairly minimal, just testing one function in a table-driven style, but hopefully they can give us some confidence next time we update the parsing regex. I've tried to test tabs, newlines, spaces, and a few optional parameters to 'ns', making sure that we're robust to all of these. Also added one test that checks we work with the 'in-ns' form. You can run these tests from VS Code's debug tag using the 'Launch Tests' task. Later on, we could work at getting these tests to run without spinning up an entire VS Code instance (they're unit tests, they shouldn't need a VS Code UI to run).
- Loading branch information