diff options
-rw-r--r-- | test/test_uri.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_uri.c b/test/test_uri.c index 0328a413..9538ffb0 100644 --- a/test/test_uri.c +++ b/test/test_uri.c @@ -82,6 +82,9 @@ test_uri_to_path(void) uri = (const uint8_t*)"C|/Windows/Sucks"; assert(!strcmp((const char*)serd_uri_to_path(uri), "C|/Windows/Sucks")); + + uri = (const uint8_t*)"http://example.org/path"; + assert(!serd_uri_to_path(uri)); } #if defined(__GNUC__) |