Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PATHEXT tests #58

Closed
wants to merge 1 commit into from
Closed

Conversation

Gudahtt
Copy link

@Gudahtt Gudahtt commented Aug 2, 2018

The tests find when executable > with pathExt were setting
process.env.PATHEXT, as if to test to ensure that it would read from
it correctly. But in both tests, the option pathExt was also set.
This option is checked before PATHEXT, so PATHEXT was not tested.

The addTest function has been given an additional optional parameter
to specify a non-default set of options. New tests have been added to
ensure PATHEXT is read correctly.

The tests `find when executable > with pathExt` were setting
`process.env.PATHEXT`, as if to test to ensure that it would read from
it correctly. But in both tests, the option `pathExt` was also set.
This option is checked before `PATHEXT`, so `PATHEXT` was not tested.

The `addTest` function has been given an additional optional parameter
to specify a non-default set of options. New tests have been added to
ensure `PATHEXT` is read correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants