diff options
Diffstat (limited to 'test/lilv_test.c')
-rw-r--r-- | test/lilv_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |