Skip to content

Commit

Permalink
Fix broken binary diff test
Browse files Browse the repository at this point in the history
In a recent commit to libgit2, binary diffs were changed to have a
trailing empty line. This broke a test in test_diff because it compares
it directly against the string. I've added the extra line to the
expected output and the test now passes correctly.
  • Loading branch information
Chason Chaffin committed Dec 16, 2015
1 parent 99dfce9 commit a5cfea2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
literal 8
Pc${NM&PdElPvrst3ey5{
"""

DIFF_HEAD_TO_INDEX_EXPECTED = [
Expand Down

0 comments on commit a5cfea2

Please sign in to comment.