better XTEST_MAIN macro so it doesn't break when the function contains commas
This commit is contained in:
parent
ec8d2cc79a
commit
9131218783
|
@ -9,12 +9,14 @@ void example_groups();
|
|||
void example_parameterized();
|
||||
void example_skip();
|
||||
|
||||
XTEST_MAIN({
|
||||
xtest_run_group(example_assertions);
|
||||
xtest_run_group(example_expect_assertions);
|
||||
xtest_run_group(example_fail);
|
||||
xtest_run_group(example_float);
|
||||
xtest_run_group(example_groups);
|
||||
xtest_run_group(example_parameterized);
|
||||
xtest_run_group(example_skip);
|
||||
})
|
||||
|
||||
|
||||
XTEST_MAIN {
|
||||
xtest_run_group(example_assertions);
|
||||
xtest_run_group(example_expect_assertions);
|
||||
xtest_run_group(example_fail);
|
||||
xtest_run_group(example_float);
|
||||
xtest_run_group(example_groups);
|
||||
xtest_run_group(example_parameterized);
|
||||
xtest_run_group(example_skip);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue