]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/run-coverage.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / tests / run-coverage.c
index a3e83c1ca939fbc8454cadf9092dec32659c7e35..af8d6f21c845948fbbae3cd1413cbfc6ac8e2938 100644 (file)
@@ -162,11 +162,11 @@ static void do_run_coverage_tests(struct manifest *m,
        analyze_coverage(m, full_gcov, cmdout, score);
 }
 
-struct ccanlint run_coverage_tests = {
+struct ccanlint tests_coverage = {
        .key = "tests_coverage",
        .name = "Module's tests cover all the code",
        .check = do_run_coverage_tests,
        .needs = "tests_compile_coverage tests_pass"
 };
 
-REGISTER_TEST(run_coverage_tests);
+REGISTER_TEST(tests_coverage);