We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07f6f2a commit 890fd8fCopy full SHA for 890fd8f
git/test/test_docs.py
@@ -323,7 +323,7 @@ def test_references_and_objects(self, rw_dir):
323
blob = tree.trees[1].blobs[0] # let's get a blob in a sub-tree
324
assert blob.name
325
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
+ self.assertEqual(tree.trees[1].name + '/' + blob.name, blob.path) # this is how relative blob path generated
327
self.assertEqual(tree[blob.path], blob) # you can use paths like 'dir/file' in tree
328
# ![19-test_references_and_objects]
329
0 commit comments