diff options
author | Vincent Driessen <me@nvie.com> | 2016-04-15 02:18:12 +0200 |
---|---|---|
committer | Vincent Driessen <me@nvie.com> | 2016-04-19 21:46:16 +0200 |
commit | 2090b5487e69688be61cfbb97c346c452ab45ba2 (patch) | |
tree | 53c6db212e1b8b218c8fe90cf3690f26b5b06030 /git/test/test_diff.py | |
parent | cdf7c5aca2201cf9dfc3cd301264da4ea352b737 (diff) | |
download | gitpython-2090b5487e69688be61cfbb97c346c452ab45ba2.tar.gz |
Make test stricter
Diffstat (limited to 'git/test/test_diff.py')
-rw-r--r-- | git/test/test_diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_diff.py b/git/test/test_diff.py index 05f8f3ae..0c670f0b 100644 --- a/git/test/test_diff.py +++ b/git/test/test_diff.py @@ -116,7 +116,7 @@ class TestDiff(TestBase): 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 |