diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-01-17 16:04:42 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-01-17 16:04:42 +1030 |
commit | d50528d6c5f834bad874385b3a2c118bb39fb9ac (patch) | |
tree | b38deb57f3a80e99fa92a72066bd2f4b467005c4 | |
parent | 1005f474c8d5ec36acb432e25ae05fa073dffd91 (diff) |
ccanlint: fix score for info_summary_single_line
My refactoring introduced a bug: we need to set score=1 for the success case.
-rw-r--r-- | tools/ccanlint/tests/info_summary_single_line.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/ccanlint/tests/info_summary_single_line.c b/tools/ccanlint/tests/info_summary_single_line.c index 19e9ada5..b98ab74e 100644 --- a/tools/ccanlint/tests/info_summary_single_line.c +++ b/tools/ccanlint/tests/info_summary_single_line.c @@ -13,6 +13,8 @@ static void check_info_summary_single_line(struct manifest *m, struct doc_section *d; score->pass = true; + score->score = 1; + list_for_each(infodocs, d, list) { const char *after; |