mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-04 15:43:58 +00:00
Since the pattern matching is case-insensitive, lowercase pattern string
- it helps to remove duplicates (like cover.jpg cover.JPG) - fix test accordingly
This commit is contained in:
@@ -408,6 +408,5 @@ class FileAdditionalFilesPatternsTest(PicardTestCase):
|
||||
(re.compile('(?s:c.ver\\.jpg)\\Z', re.IGNORECASE), False),
|
||||
(re.compile('(?s:\\.h.dden.*)\\Z', re.IGNORECASE), True),
|
||||
(re.compile('(?s:.*\\.jpg)\\Z', re.IGNORECASE), False),
|
||||
(re.compile('(?s:.*\\.JPG)\\Z', re.IGNORECASE), False)
|
||||
}
|
||||
self.assertEqual(f._compile_move_additional_files_pattern(config), expected)
|
||||
|
||||
Reference in New Issue
Block a user