diff --git a/tests/test_zipp.py b/tests/test_zipp.py index adebfe2..72ac60e 100644 --- a/tests/test_zipp.py +++ b/tests/test_zipp.py @@ -447,6 +447,9 @@ def test_match_and_glob(self, alpharep): root = zipp.Path(alpharep) assert not root.match("*.txt") + assert list(root.glob("*/i.txt")) == [] + assert list(root.rglob("*/i.txt")) == [zipp.Path(alpharep, "g/h/i.txt")] + assert list(root.glob("b/c.*")) == [zipp.Path(alpharep, "b/c.txt")] files = root.glob("**/*.txt")