Comments fix: lttngerr.h -> error.h (./Changelog:754)
[lttng-tools.git] / tests / unit / test_uri.c
index ba0baf9b6e03b0f1f84ef4d763751b3943a7aa95..7cac95d98e099a567a9a2f2f68bf0697ef688b5e 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <common/uri.h>
 
-/* For lttngerr.h */
+/* For error.h */
 int lttng_opt_quiet = 1;
 int lttng_opt_verbose = 3;
 
@@ -189,10 +189,12 @@ void test_uri_parsing(void)
        s_uri1 = "file/my/test/path";
        size = uri_parse(s_uri1, &uri);
        ok(size == -1, "Bad URI set to file/my/test/path");
+       assert(!uri);
 
        s_uri1 = "net://:8999";
        size = uri_parse(s_uri1, &uri);
        ok(size == -1, "Bad URI set to net://:8999");
+       assert(!uri);
 }
 
 void test_uri_cmp()
This page took 0.024258 seconds and 4 git commands to generate.