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