tests/test-match.py
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 24 Mar 2018 22:10:58 -0400
changeset 37117 a8a0cafcef79
parent 33582 44bc181b9835
child 38991 987d3a4b989f
permissions -rw-r--r--
test-pathconflicts-merge: stop requiring symlink support The errors from the last time I took a shot at this back in early November have disappeared, so let's just enable this.

from __future__ import absolute_import

import unittest

import silenttestrunner

from mercurial import (
    match as matchmod,
)

class NeverMatcherTests(unittest.TestCase):

    def testVisitdir(self):
        m = matchmod.nevermatcher('', '')
        self.assertFalse(m.visitdir('.'))
        self.assertFalse(m.visitdir('dir'))

if __name__ == '__main__':
    silenttestrunner.main(__name__)