HaveIBeenPwned / EmailAddressExtractor

A project to rapidly extract all email addresses from any files in a given path
BSD 3-Clause "New" or "Revised" License
64 stars 23 forks source link

Added some tests / other cleanup #45

Closed GStefanowich closed 1 year ago

GStefanowich commented 1 year ago

Added some tests for the new CLI inputs: --debug, and --yes. Also expanded tests for -? to include -h and --help, and -v to include --version


Changed the 2nd parameter from CommandLineProcessor to be an out variable. Since it's always functionally been a list reference, and there is no situation where we pass in pre-existing values.

Being an out now we can simplify Tests by simply discarding the out _ instead of creating a new List<string>() for every usage.