ccanlint: fix segfault caused by tests not depending on the "info" test.
[ccan] / tools / ccanlint / compulsory_tests / check_depends_exist.c
index d1f33b6465fbf99e0e94103c1d9d7d10b603f58f..1423b40f0357b74dac9edad1c74ec59f2d494447 100644 (file)
@@ -74,4 +74,4 @@ struct ccanlint depends_exist = {
        .check = check_depends_exist,
 };
 
-REGISTER_TEST(depends_exist, NULL);
+REGISTER_TEST(depends_exist, &has_info, NULL);