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
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy