]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/has_main_header.c
ccanlint: clean up test short descriptions
[ccan] / tools / ccanlint / compulsory_tests / has_main_header.c
index 978bfcb60029ca30e9beb6eae47dcab285043f0f..c2c823821b3a1e8c6ed65aa41a3c473b23ba3957 100644 (file)
@@ -35,7 +35,10 @@ static const char *describe_has_main_header(struct manifest *m,
 }
 
 struct ccanlint has_main_header = {
-       .name = "No main header file",
+       .key = "has-main-header",
+       .name = "Module has main header file",
        .check = check_has_main_header,
        .describe = describe_has_main_header,
 };
+
+REGISTER_TEST(has_main_header, NULL);