diff options
| author | Sim Domingo <sim@github.com> | 2016-06-02 23:18:31 +0800 |
|---|---|---|
| committer | Edward Thomson <ethomson@github.com> | 2016-10-09 16:03:00 +0100 |
| commit | dc5cfdbab957a08f3ddda9889f68c81011eb1900 (patch) | |
| tree | f598ce9227686a3d536391a16395c066fab046e9 /tests/diff/format_email.c | |
| parent | f0ee795ccb552b87637c7973ac64f64437baa041 (diff) | |
| download | libgit2-dc5cfdbab957a08f3ddda9889f68c81011eb1900.tar.gz | |
make git_diff_stats_to_buf not show 0 insertions or 0 deletions
Diffstat (limited to 'tests/diff/format_email.c')
| -rw-r--r-- | tests/diff/format_email.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/diff/format_email.c b/tests/diff/format_email.c index e55afe958..55647937d 100644 --- a/tests/diff/format_email.c +++ b/tests/diff/format_email.c @@ -112,7 +112,7 @@ void test_diff_format_email__with_message(void) "Also test if new paragraphs are included correctly.\n" \ "---\n" \ " file3.txt | 1 +\n" \ - " 1 file changed, 1 insertion(+), 0 deletions(-)\n" \ + " 1 file changed, 1 insertion(+)\n" \ "\n" \ "diff --git a/file3.txt b/file3.txt\n" \ "index 9a2d780..7309653 100644\n" \ @@ -155,7 +155,7 @@ void test_diff_format_email__multiple(void) "---\n" \ " file2.txt | 5 +++++\n" \ " file3.txt | 5 +++++\n" \ - " 2 files changed, 10 insertions(+), 0 deletions(-)\n" \ + " 2 files changed, 10 insertions(+)\n" \ " create mode 100644 file2.txt\n" \ " create mode 100644 file3.txt\n" \ "\n" \ |
