1 parent b89b089 commit abd23a3Copy full SHA for abd23a3
git/test/test_docs.py
@@ -94,7 +94,7 @@ def test_init_repo_object(self, rw_dir):
94
# [11-test_init_repo_object]
95
assert now.commit.message != past.commit.message
96
# You can read objects directly through binary streams, no working tree required
97
- assert (now.commit.tree / 'VERSION').data_stream.read().decode('ascii').startswith('0')
+ assert (now.commit.tree / 'VERSION').data_stream.read().decode('ascii').startswith('1')
98
99
# You can traverse trees as well to handle all contained files of a particular commit
100
file_count = 0
0 commit comments