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

Fix false-positive test due to case-sensitive process.env variables #124

Merged
merged 1 commit into from
May 21, 2016

Conversation

galenandrew
Copy link
Contributor

Moved from #123

This test was returning a false positive because the readFileSyncStub loads test=val (lowercase) and the test is checking for process.env.TEST (uppercase), thus never colliding with an existing env variable.

@motdotla
Copy link
Owner

@galenandrew apologies for maybe being thick headed, but can you explain this one further. I don't understand.

@maxbeatty maxbeatty merged commit b74ff4b into motdotla:master May 21, 2016
@galenandrew galenandrew deleted the falsePositiveTest branch May 23, 2016 18:03
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.

3 participants