]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/trailing_whitespace.c
ccanlint: rename test keys
[ccan] / tools / ccanlint / tests / trailing_whitespace.c
index 2d344435e9ff908233f9d82babb08a801e5fa4ca..2a301ea8b1c077af8bb369e1d2c64cf893080a8d 100644 (file)
@@ -37,7 +37,7 @@ static void check_trailing_whitespace(struct manifest *m,
                                char *err = get_trailing_whitespace(lines[i]);
                                if (err) {
                                        score->error = "Trailing whitespace"
-                                               "found";
+                                               " found";
                                        score_file_error(score, f, i+1, err);
                                }
                        }
@@ -50,7 +50,7 @@ static void check_trailing_whitespace(struct manifest *m,
 }
 
 struct ccanlint trailing_whitespace = {
-       .key = "trailing-whitespace",
+       .key = "no_trailing_whitespace",
        .name = "Module's source code has no trailing whitespace",
        .check = check_trailing_whitespace,
 };