Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix different_case check ordering #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

acdha
Copy link
Member

@acdha acdha commented Jul 9, 2018

This fixes the problem mentioned in #119 by testing for case-insensitive filename conflicts before adding the lower-cased filename to the path Set.

…ess#119)

This ensures that the test won’t flag the file it just added
for any case where the filename isn’t already lowercased.
@acdha acdha force-pushed the fix-different_case-check-ordering branch from 96ac9b5 to 6040c62 Compare July 9, 2018 15:53
@coveralls
Copy link

coveralls commented Jul 9, 2018

Coverage Status

Coverage remained the same at 98.282% when pulling 6040c62 on acdha:fix-different_case-check-ordering into 2b7002e on LibraryOfCongress:master.

@jscancella
Copy link
Contributor

We should probably add a test for the linter that should not return any warnings to catch possible errors like this again in https://github.com/LibraryOfCongress/bagit-java/blob/master/src/test/java/gov/loc/repository/bagit/conformance/BagLinterTest.java

@jscancella jscancella mentioned this pull request Aug 15, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants