Show More
@@ -0,0 +1,19 b'' | |||
|
1 | from __future__ import absolute_import | |
|
2 | ||
|
3 | import unittest | |
|
4 | ||
|
5 | import silenttestrunner | |
|
6 | ||
|
7 | from mercurial import ( | |
|
8 | match as matchmod, | |
|
9 | ) | |
|
10 | ||
|
11 | class NeverMatcherTests(unittest.TestCase): | |
|
12 | ||
|
13 | def testVisitdir(self): | |
|
14 | m = matchmod.nevermatcher('', '') | |
|
15 | self.assertFalse(m.visitdir('.')) | |
|
16 | self.assertFalse(m.visitdir('dir')) | |
|
17 | ||
|
18 | if __name__ == '__main__': | |
|
19 | silenttestrunner.main(__name__) |
General Comments 0
You need to be logged in to leave comments.
Login now