X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftrailing_whitespace.c;fp=tools%2Fccanlint%2Ftests%2Ftrailing_whitespace.c;h=2b430e8c308f2b1fa5aba609f7c731bbd505abd2;hp=2a301ea8b1c077af8bb369e1d2c64cf893080a8d;hb=016a19d260cd7f4afeb5b2b2cc28c8bbed1cd170;hpb=f9423c171395571f9880286190d9cf63da147668 diff --git a/tools/ccanlint/tests/trailing_whitespace.c b/tools/ccanlint/tests/trailing_whitespace.c index 2a301ea8..2b430e8c 100644 --- a/tools/ccanlint/tests/trailing_whitespace.c +++ b/tools/ccanlint/tests/trailing_whitespace.c @@ -53,7 +53,8 @@ struct ccanlint trailing_whitespace = { .key = "no_trailing_whitespace", .name = "Module's source code has no trailing whitespace", .check = check_trailing_whitespace, + .needs = "" }; -REGISTER_TEST(trailing_whitespace, NULL); +REGISTER_TEST(trailing_whitespace);