To be able to test the CLI aspect of cast-sh, I rearranged the parger bit of the code into its own function. This way I was able to create the parser in the test and not have duplicate code. Increased code coverage from 25% to %~30% :)
Fixes issue \
64
Motivation and Context
Who doesn't enjoy verifiable code?
How Has This Been Tested?
[x] Ran our included tests
[x] Manual QA
[x] New test written
Screenshots (if appropriate):
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
To be able to test the CLI aspect of cast-sh, I rearranged the parger bit of the code into its own function. This way I was able to create the parser in the test and not have duplicate code. Increased code coverage from 25% to %~30% :)
Fixes issue \
64
Motivation and Context
Who doesn't enjoy verifiable code?
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: