Test buf join with NULL behavior explicitly

This commit is contained in:
Russell Belfer 2013-01-29 12:13:24 -08:00
parent e1859ea184
commit 17c92beaca

View File

@ -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");