From 689dff64ba1aef04e3115562d07bb1910de68059 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 12 Jul 2016 21:22:08 -0400 Subject: Improve test coverage --- test/lilv_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/lilv_test.c b/test/lilv_test.c index 69f58c7..ebdef23 100644 --- a/test/lilv_test.c +++ b/test/lilv_test.c @@ -1911,6 +1911,7 @@ test_string(void) TEST_ASSERT(!strcmp((s = lilv_path_join("/a/", "/b")), "/a/b")); free(s); TEST_ASSERT(!strcmp((s = lilv_path_join("/a/", "b")), "/a/b")); free(s); TEST_ASSERT(!strcmp((s = lilv_path_join("/a", NULL)), "/a/")); free(s); + TEST_ASSERT(!strcmp((s = lilv_path_join(NULL, "/b")), "/b")); free(s); #ifndef _WIN32 setenv("LILV_TEST_1", "test", 1); -- cgit v1.2.1