From a18cea2fef7aa1545c9a984b60919541b26a6f84 Mon Sep 17 00:00:00 2001 From: Christian C Date: Tue, 1 Apr 2025 17:38:32 -0700 Subject: Clang Format --- test/test.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'test/test.c') diff --git a/test/test.c b/test/test.c index 40e2d6f..786ab2e 100644 --- a/test/test.c +++ b/test/test.c @@ -2,10 +2,14 @@ #include #include -#define _META_TEST_RESULT(name,result) if (result) { fprintf(stderr, " \x1b[92mPASS\x1b[0m %s\n", name);} else { fprintf(stderr, "%s: \x1b[91mFAIL\x1b[0m\n", name);} +#define _META_TEST_RESULT(name, result) \ + if (result) { \ + fprintf(stderr, " \x1b[92mPASS\x1b[0m %s\n", name); \ + } else { \ + fprintf(stderr, "%s: \x1b[91mFAIL\x1b[0m\n", name); \ + } -int main() -{ +int main() { bool_t all_success = TRUE; bool_t test_success; // lib/color.c Test -- cgit v1.2.1