diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2014-01-22 14:41:04 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2014-01-22 14:41:04 -0500 |
| commit | 238e8149724ea462153cc082385f60dccc2a3cf9 (patch) | |
| tree | b251bc295ef08aef080ceabbac10f5dd9924b724 /tests | |
| parent | 2b678ce5b4ebbc1d045f2a07651720d8c1e6458c (diff) | |
| download | libgit2-238e8149724ea462153cc082385f60dccc2a3cf9.tar.gz | |
Summarize empty messages
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/commit/commit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/commit/commit.c b/tests/commit/commit.c index 4af9190b5..38397d2df 100644 --- a/tests/commit/commit.c +++ b/tests/commit/commit.c @@ -72,4 +72,8 @@ void test_commit_commit__summary(void) assert_commit_summary("Trailing spaces are removed", "Trailing spaces are removed "); assert_commit_summary("Trailing tabs", "Trailing tabs\t\n\nare removed"); assert_commit_summary("Trailing spaces", "Trailing spaces \n\nare removed"); + assert_commit_summary("", ""); + assert_commit_summary("", " "); + assert_commit_summary("", "\n"); + assert_commit_summary("", "\n \n"); } |
