diff --git a/pathspec/tests/test_gitignore.py b/pathspec/tests/test_gitignore.py index 91b8309..50f216c 100644 --- a/pathspec/tests/test_gitignore.py +++ b/pathspec/tests/test_gitignore.py @@ -61,7 +61,7 @@ def test_03_child_double_asterisk(self): """ spec = GitIgnorePattern('spam/**') self.assertTrue(spec.include) - self.assertEquals(spec.regex.pattern, '^(?:.+/)?spam/.+$') + self.assertEquals(spec.regex.pattern, '^(?:.+/)?spam/.*$') def test_03_inner_double_asterisk(self): """