watson
watson copied to clipboard
Cover the parser with tests
Some options:
- parse real files and treat the parser as a black-box
- refactor some code and test particular methods
This is now indirectly and very partially covered by #53 Proper tests would still be great, especially those that exercise various things that were problematic in the past, like top output differing between distros, usernames with spaces, etc