diff options
author | David Robillard <d@drobilla.net> | 2016-07-12 21:22:08 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-12 21:22:08 -0400 |
commit | 689dff64ba1aef04e3115562d07bb1910de68059 (patch) | |
tree | 359f4103eb130903e453e05b69d7654728e36a1d | |
parent | 529aff259d2f38214d2544089ac6fecfc501f86d (diff) | |
download | lilv-689dff64ba1aef04e3115562d07bb1910de68059.tar.gz lilv-689dff64ba1aef04e3115562d07bb1910de68059.tar.bz2 lilv-689dff64ba1aef04e3115562d07bb1910de68059.zip |
Improve test coverage
-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); |