We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bde103 commit d8ef023Copy full SHA for d8ef023
git/test/test_repo.py
@@ -781,13 +781,13 @@ def test_empty_repo(self, rw_dir):
781
nb=r.create_head('foo')
782
assertnb.is_valid()
783
784
-withopen(new_file_path, 'w') asf:
785
-f.write('Line 1\n')
+withopen(new_file_path, 'w') asf:
+f.write('Line 1\n')
786
787
r.index.add([new_file_path])
788
r.index.commit("add line 1\nBAD MESSAGE 2\n")
789
790
-withopen('%s/.git/logs/refs/heads/master'% (rw_dir,), 'r') asf:
+withopen('%s/.git/logs/refs/heads/master'% (rw_dir,), 'r') asf:
791
contents=f.read()
792
793
assert'BAD MESSAGE'notincontents, 'log is corrupt'
0 commit comments