Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make test stricter
  • Loading branch information
nvie committed Apr 19, 2016
commit 2090b5487e69688be61cfbb97c346c452ab45ba2
2 changes: 1 addition & 1 deletion git/test/test_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_diff_index(self):
res = Diff._index_from_patch_format(None, output.stdout)
assert len(res) == 6
for dr in res:
assert dr.diff
assert dr.diff.startswith(b'@@')
assert str(dr), "Diff to string conversion should be possible"
# end for each diff

Expand Down