chevah / compat

Chevah OS Compatibility Layer
Other
4 stars 1 forks source link

Raise an error if onOSName sees unrecognized OS. #115

Closed danuker closed 2 years ago

danuker commented 3 years ago

I recently saw a test with @conditionals.onOSName(['linux', 'window']).

window should have been windows; the test was skipped unintentionally.

Make onOSName throw an error if it sees an OS name it does not recognize.