]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/trailing_whitespace.c
ccanlint: clean up test short descriptions
[ccan] / tools / ccanlint / tests / trailing_whitespace.c
index f522d316e5c406742dc0e344be450114d83ca5f1..6b831a727550c400476727e17515403f91ecada3 100644 (file)
@@ -40,8 +40,12 @@ static const char *describe_trailing_whitespace(struct manifest *m,
 }
 
 struct ccanlint trailing_whitespace = {
-       .name = "No lines with unnecessary trailing whitespace",
+       .key = "trailing-whitespace",
+       .name = "Module's source code has no trailing whitespace",
        .total_score = 1,
        .check = check_trailing_whitespace,
        .describe = describe_trailing_whitespace,
 };
+
+
+REGISTER_TEST(trailing_whitespace, NULL);