diff options
-rw-r--r-- | tests/serd_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c index 7b4924d8..d4e8e9d9 100644 --- a/tests/serd_test.c +++ b/tests/serd_test.c @@ -397,7 +397,7 @@ main(void) } SerdNode* not_a_uri = serd_new_string("hello"); - SerdNode* root = serd_new_uri("http://example.org/a/b/"); + SerdNode* root = serd_new_uri("http://example.org/a/b/ignored"); SerdNode* base = serd_new_uri("http://example.org/a/b/c/"); SerdNode* nil = serd_new_resolved_uri(NULL, base); SerdNode* nil2 = serd_new_resolved_uri("", base); @@ -420,6 +420,8 @@ main(void) check_rel_uri("http://example.org/a/", base, NULL, "../../") || check_rel_uri("http://example.org/a/", base, root, "http://example.org/a/") || + check_rel_uri("http://example.org/a/b/x", root, root, + "x") || check_rel_uri("http://example.org/", base, NULL, "../../../") || check_rel_uri("http://drobilla.net/a", base, NULL, |