Skip to content

Commit 890fd8f

Browse files
committed
Now it should really start working - go, doctests, go!
1 parent 07f6f2a commit 890fd8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/test/test_docs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def test_references_and_objects(self, rw_dir):
323323
blob = tree.trees[1].blobs[0] # let's get a blob in a sub-tree
324324
assert blob.name
325325
assert len(blob.path) < len(blob.abspath)
326-
self.assertEqual(tree.trees[0].name + '/' + blob.name, blob.path) # this is how relative blob path generated
326+
self.assertEqual(tree.trees[1].name + '/' + blob.name, blob.path) # this is how relative blob path generated
327327
self.assertEqual(tree[blob.path], blob) # you can use paths like 'dir/file' in tree
328328
# ![19-test_references_and_objects]
329329

0 commit comments

Comments
 (0)