Mercurial > hg
view tests/test-match.py @ 33773:6c1a9fd8361b
test: update evolution config
evolution* config has been rewritten in stabilization* in the previous patch,
update tests file to use the new names.
Differential Revision: https://phab.mercurial-scm.org/D249
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 04 Aug 2017 18:41:16 +0200 |
parents | 44bc181b9835 |
children | 987d3a4b989f |
line wrap: on
line source
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__)