Skip to content

Commit 4b6baf4

Browse files
committed
test
1 parent 699a143 commit 4b6baf4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

git/test/test_diff.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,14 @@ def test_diff_between_commit_name_only(self):
257257
files = {'lib/git_python/diff.py', 'lib/git_python/git.py', 'lib/git_python/repo.py',
258258
'test/git/test_repo.py', 'README'}
259259

260+
assert_equal(len(diff_index), len(files))
261+
260262
for diff in diff_index:
261263
assert_true(diff.a_path in files)
262264
assert_true(diff.b_path in files)
263265
files.remove(diff.b_path)
264266

265-
assert_true(len(files) == 0)
267+
assert_equal(0, len(files))
266268

267269
def test_diff_unsafe_paths(self):
268270
output = StringProcessAdapter(fixture('diff_patch_unsafe_paths'))

0 commit comments

Comments
 (0)