diff options
author | Russell Belfer <rb@github.com> | 2013-01-30 00:13:24 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-01-30 00:13:24 +0400 |
commit | 17c92beaca15f40bc8456cc38ced40f6921c4640 (patch) | |
tree | 1884b1c925ac71c2488b2d883ac99095e10923c7 /tests-clar/core | |
parent | e1859ea184a0a440b83d6c9cdb7827031b037e92 (diff) |
Test buf join with NULL behavior explicitly
Diffstat (limited to 'tests-clar/core')
-rw-r--r-- | tests-clar/core/buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests-clar/core/buffer.c b/tests-clar/core/buffer.c index 5d9b7850c..49ab41f71 100644 --- a/tests-clar/core/buffer.c +++ b/tests-clar/core/buffer.c @@ -457,6 +457,9 @@ void test_core_buffer__8(void) git_buf_free(&a); + check_joinbuf_2(NULL, "", ""); + check_joinbuf_2(NULL, "a", "a"); + check_joinbuf_2(NULL, "/a", "/a"); check_joinbuf_2("", "", ""); check_joinbuf_2("", "a", "a"); check_joinbuf_2("", "/a", "/a"); |