ccanlint: fix segfault caused by tests not depending on the "info" test.
[ccan] / tools / ccanlint / tests / has_info_documentation.c
index ee89df9fc12398473ae24c059fd6724d0159205f..0a1788fd7d4fa8447239c5ab095584eafaf25c63 100644 (file)
@@ -96,4 +96,4 @@ struct ccanlint has_info_documentation = {
        .check = check_has_info_documentation,
 };
 
-REGISTER_TEST(has_info_documentation, NULL);
+REGISTER_TEST(has_info_documentation, &has_info, NULL);