FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Make test stricter · ali-security/gitpython-4635@2090b54 · GitHub

Repository navigation

Commit 2090b54

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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
assert len(res) == 6
118118
for dr in res:
119-
assert dr.diff
119+
assert dr.diff.startswith(b'@@')
120120
assert str(dr), "Diff to string conversion should be possible"
121121
# end for each diff
122122

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL