diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-02-24 15:43:35 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-02-25 16:11:52 +0100 |
commit | 31663c8b440540127936fa57334f5f35153bb7f6 (patch) | |
tree | 386bd277a2f2c11d844185c30ec29628cc68a7f8 | |
parent | e07aaba55f47c8cbe0107c324b13ee1848fc4049 (diff) |
tests: one more testcase for GitRepository.diff()
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r-- | tests/test_GitRepository.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py index 957c607..8803e85 100644 --- a/tests/test_GitRepository.py +++ b/tests/test_GitRepository.py @@ -491,6 +491,8 @@ def test_diff(): True >>> len(repo.diff('HEAD~1', 'HEAD', 'filenotexist')) == 0 True + >>> repo.diff('HEAD~1', 'HEAD') == repo.diff('HEAD~1') + True """ def test_diff_status(): |