Skip to content

Commit 2090b54

Browse files
committed
Make test stricter
1 parent cdf7c5a commit 2090b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/test/test_diff.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test_diff_index(self):
116116
res=Diff._index_from_patch_format(None, output.stdout)
117117
assertlen(res) ==6
118118
fordrinres:
119-
assertdr.diff
119+
assertdr.diff.startswith(b'@@')
120120
assertstr(dr), "Diff to string conversion should be possible"
121121
# end for each diff
122122

0 commit comments

Comments
(0)