monuelo / cast-sh

:pager: An instance of your terminal in your browser
Apache License 2.0
161 stars 26 forks source link

Unit tests #74

Closed vladdoster closed 5 years ago

vladdoster commented 5 years ago

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: