summaryrefslogtreecommitdiff
path: root/test/git/test_index.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/test_index.py')
-rw-r--r--test/git/test_index.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/git/test_index.py b/test/git/test_index.py
index 10ffb79d..8baf408c 100644
--- a/test/git/test_index.py
+++ b/test/git/test_index.py
@@ -101,4 +101,7 @@ class TestTree(TestBase):
# END for each blob
assert num_blobs == len(three_way_index.entries)
-
+ def test_from_index(self):
+ # default Index instance points to our index
+ index = Index(self.rorepo)
+ assert len(index.entries)