summaryrefslogtreecommitdiffstats
path: root/test/lilv_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-12 21:22:08 -0400
committerDavid Robillard <d@drobilla.net>2016-07-12 21:22:08 -0400
commit689dff64ba1aef04e3115562d07bb1910de68059 (patch)
tree359f4103eb130903e453e05b69d7654728e36a1d /test/lilv_test.c
parent529aff259d2f38214d2544089ac6fecfc501f86d (diff)
downloadlilv-689dff64ba1aef04e3115562d07bb1910de68059.tar.gz
lilv-689dff64ba1aef04e3115562d07bb1910de68059.tar.bz2
lilv-689dff64ba1aef04e3115562d07bb1910de68059.zip
Improve test coverage
Diffstat (limited to 'test/lilv_test.c')
-rw-r--r--test/lilv_test.c1
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);