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

Compare lowercased strings #93

Merged
merged 4 commits into from
Jan 14, 2020
Merged

Compare lowercased strings #93

merged 4 commits into from
Jan 14, 2020

Conversation

mdpiper
Copy link
Member

@mdpiper mdpiper commented Sep 12, 2019

This PR fixes #95, although in a somewhat sloppy manner: I lowercased both sides of the test assertion. This won't affect the test string "/usr/local/share" on macOS or Linux.

I'm totally open to a better solution.

This was causing a test to fail on Windows when comparing "C:" versus "c:".
@coveralls
Copy link

coveralls commented Sep 12, 2019

Coverage Status

Coverage remained the same at 71.478% when pulling 0245434 on mdpiper/fix-failing-test into 900c91f on master.

This reverts commit f536665.

I've found a better way to fix the issue.
The normcase function lowercases Windows drive letters.
@mdpiper mdpiper merged commit f8463fd into master Jan 14, 2020
@mdpiper mdpiper deleted the mdpiper/fix-failing-test branch January 14, 2020 16:39
This pull request was closed.
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.

String comparison causing test to fail on Appveyor
2 participants