X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fhas_examples.c;h=947d76a4a768751053e6830b4bb788cb2c56df77;hp=a1d54c480ffecdfcd80150df1bfff838ba39eb28;hb=2926cafb52b9d95646d9dafa877d53f2368d8b2c;hpb=016a19d260cd7f4afeb5b2b2cc28c8bbed1cd170 diff --git a/tools/ccanlint/tests/has_examples.c b/tools/ccanlint/tests/has_examples.c index a1d54c48..947d76a4 100644 --- a/tools/ccanlint/tests/has_examples.c +++ b/tools/ccanlint/tests/has_examples.c @@ -109,11 +109,11 @@ static void extract_examples(struct manifest *m, score->pass = score->score != 0; } -struct ccanlint has_examples = { +struct ccanlint examples_exist = { .key = "examples_exist", .name = "_info and main header file have Example: sections", .check = extract_examples, .needs = "info_exists" }; -REGISTER_TEST(has_examples); +REGISTER_TEST(examples_exist);