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