mirror of
https://github.com/python/cpython.git
synced 2026-02-14 03:10:44 +00:00
Add a minimal test for fnmatchcase().
This commit is contained in:
parent
a34f87f981
commit
308e18b595
1 changed files with 5 additions and 0 deletions
|
|
@ -44,6 +44,11 @@ def test_fnmatch(self):
|
|||
check('\nfoo', 'foo*', False)
|
||||
check('\n', '*')
|
||||
|
||||
def test_fnmatchcase(self):
|
||||
check = self.check_match
|
||||
check('AbC', 'abc', 0)
|
||||
check('abc', 'AbC', 0)
|
||||
|
||||
|
||||
def test_main():
|
||||
test_support.run_unittest(FnmatchTestCase)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue