118
118
added = ignores.add_unique_user_ignores(
119
119
['xxx', './bar', 'xxx', 'dir1/', 'dir2/', 'dir3\\'])
120
120
self.assertEqual(['xxx', 'dir2'], added)
121
self.assertEqual(set(['foo', './bar', u'b\xe5z',
121
self.assertEqual(set(['foo', './bar', u'b\xe5z',
122
122
'xxx', 'dir1', 'dir2', 'dir3']),
123
123
ignores.get_user_ignores())