Add a minimal test for fnmatchcase().
This commit is contained in:
parent
a34f87f981
commit
308e18b595
|
@ -44,6 +44,11 @@ class FnmatchTestCase(unittest.TestCase):
|
||||||
check('\nfoo', 'foo*', False)
|
check('\nfoo', 'foo*', False)
|
||||||
check('\n', '*')
|
check('\n', '*')
|
||||||
|
|
||||||
|
def test_fnmatchcase(self):
|
||||||
|
check = self.check_match
|
||||||
|
check('AbC', 'abc', 0)
|
||||||
|
check('abc', 'AbC', 0)
|
||||||
|
|
||||||
|
|
||||||
def test_main():
|
def test_main():
|
||||||
test_support.run_unittest(FnmatchTestCase)
|
test_support.run_unittest(FnmatchTestCase)
|
||||||
|
|
Loading…
Reference in New Issue