Changeset 5ebff60 for tests/check_help.c


Ignore:
Timestamp:
2015-02-20T22:50:54Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
0b9daac, 3d45471, 7733b8c
Parents:
af359b4
git-author:
Indent <please@…> (19-02-15 05:47:20)
git-committer:
dequis <dx@…> (20-02-15 22:50:54)
Message:

Reindent everything to K&R style with tabs

Used uncrustify, with the configuration file in ./doc/uncrustify.cfg

Commit author set to "Indent <please@…>" so that it's easier to
skip while doing git blame.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/check_help.c

    raf359b4 r5ebff60  
    88
    99START_TEST(test_help_initfree)
    10         help_t *h, *r;
    11         r = help_init(&h, "/dev/null");
    12         fail_if(r == NULL);
    13         fail_if(r != h);
     10help_t * h, *r;
     11r = help_init(&h, "/dev/null");
     12fail_if(r == NULL);
     13fail_if(r != h);
    1414
    15         help_free(&h);
    16         fail_if(h != NULL);
     15help_free(&h);
     16fail_if(h != NULL);
    1717END_TEST
    1818
    1919START_TEST(test_help_nonexistent)
    20         help_t *h, *r;
    21         r = help_init(&h, "/dev/null");
    22         fail_unless(help_get(&h, "nonexistent") == NULL);
    23         fail_if(r == NULL);
     20help_t * h, *r;
     21r = help_init(&h, "/dev/null");
     22fail_unless(help_get(&h, "nonexistent") == NULL);
     23fail_if(r == NULL);
    2424END_TEST
    2525
    26 Suite *help_suite (void)
     26Suite *help_suite(void)
    2727{
    2828        Suite *s = suite_create("Help");
    2929        TCase *tc_core = tcase_create("Core");
    30         suite_add_tcase (s, tc_core);
    31         tcase_add_test (tc_core, test_help_initfree);
    32         tcase_add_test (tc_core, test_help_nonexistent);
     30
     31        suite_add_tcase(s, tc_core);
     32        tcase_add_test(tc_core, test_help_initfree);
     33        tcase_add_test(tc_core, test_help_nonexistent);
    3334        return s;
    3435}
Note: See TracChangeset for help on using the changeset viewer.