]> granicus.if.org Git - python/commitdiff
Add a minimal test for fnmatchcase().
authorGeorg Brandl <georg@python.org>
Sun, 7 Feb 2010 12:34:26 +0000 (12:34 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 7 Feb 2010 12:34:26 +0000 (12:34 +0000)
Lib/test/test_fnmatch.py

index fbcbe70b82847c999a6ce8838d2d5cf42376b59e..aba76ba3d2fd7f8ebcf573da0c2db9bd8ab0789c 100644 (file)
@@ -44,6 +44,11 @@ class FnmatchTestCase(unittest.TestCase):
         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)