Add test.

This commit is contained in:
Bob Swift
2022-04-07 10:35:42 -06:00
parent f92016c6c9
commit d73a3dd0d8

View File

@@ -219,6 +219,10 @@ class MakeSavePathTest(PicardTestCase):
path = 'foo/\u00E9bar' # é
self.assertEqual('foo/\u0065\u0301bar', make_save_path(path, mac_compat=True))
def test_remove_zero_length_space(self):
path = 'foo/\u200Bbar'
self.assertEqual('foo/bar', make_save_path(path))
class GetAvailableFilenameTest(PicardTestCase):