Skip to content

Commit

Permalink
run astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
RhysU committed Jun 20, 2012
1 parent 7aedd75 commit f6fdb85
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
16 changes: 10 additions & 6 deletions tests/test_clp.c
Expand Up @@ -23,14 +23,18 @@ fctcl_init_t options[] =
grow a "fctcl_init_t" object with constants, it will
do to quiet down C++. It turns out that you never delete
this data, so it is OK to cast it to a char*. */
{"--help",
{
"--help",
"-h",
FCTCL_STORE_TRUE,
"Shows this message"},
{"--output",
NULL,
FCTCL_STORE_VALUE,
"Name of file to store output."},
"Shows this message"
},
{
"--output",
NULL,
FCTCL_STORE_VALUE,
"Name of file to store output."
},
FCTCL_INIT_NULL /* Sentinel. */
};

Expand Down
2 changes: 1 addition & 1 deletion tests/test_quick_test.c
Expand Up @@ -14,7 +14,7 @@ Provides a dumping ground for basic tests of fct.

FCT_BGN()
{
int count =0; /* Use this to confirm the quick tests execute. */
int count =0; /* Use this to confirm the quick tests execute. */

FCT_QTEST_BGN(quick)
{
Expand Down
12 changes: 8 additions & 4 deletions tests/test_start_other_than_main.c
Expand Up @@ -11,18 +11,22 @@ File: test_start_other_than_main.c
#include "fct.h"

int
_start_test(int argCount, char *argVariables[]) {
_start_test(int argCount, char *argVariables[])
{
FCT_INIT(argCount, argVariables);

FCT_QTEST_BGN(test_with_my_own_func) {
FCT_QTEST_BGN(test_with_my_own_func)
{
fct_chk(1);
} FCT_QTEST_END();
}
FCT_QTEST_END();

FCT_FINAL();
return FCT_NUM_FAILED();
}

int
main(int argCount, char *argVariables[]) {
main(int argCount, char *argVariables[])
{
return _start_test(argCount, argVariables);
}

0 comments on commit f6fdb85

Please sign in to comment.