Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-01-30 00:13:24 +0400
committerRussell Belfer <rb@github.com>2013-01-30 00:13:24 +0400
commit17c92beaca15f40bc8456cc38ced40f6921c4640 (patch)
tree1884b1c925ac71c2488b2d883ac99095e10923c7 /tests-clar/core
parente1859ea184a0a440b83d6c9cdb7827031b037e92 (diff)
Test buf join with NULL behavior explicitly
Diffstat (limited to 'tests-clar/core')
-rw-r--r--tests-clar/core/buffer.c3
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");