315
315
def test__get_ignore_rules_as_regex(self):
316
316
tree = self.make_branch_and_tree('.')
319
319
regex_rules = tree._get_ignore_rules_as_regex()[0]
320
320
self.assertEqual(len(reference_output[1]), regex_rules[0].groups)
321
321
self.assertEqual(reference_output[1], regex_rules[1])