From a7a070371bcc10d0dbf94e503650856ac37ed81d Mon Sep 17 00:00:00 2001 From: Felix Perktold Date: Mon, 22 Dec 2025 00:14:15 +0100 Subject: add reading from files, add quote shorthand (') --- test.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test.c') diff --git a/test.c b/test.c index 9dfe8c6..8622fe3 100644 --- a/test.c +++ b/test.c @@ -10,14 +10,14 @@ static int tests_failed = 0; env *global_env = NULL; -#define ASSERT(cond, msg) do { \ - tests_run++; \ - if (!(cond)) { \ - tests_failed++; \ +#define ASSERT(cond, msg) do { \ + tests_run++; \ + if (!(cond)) { \ + tests_failed++; \ printf("FAIL: %s\n", msg); \ - } else { \ + } else { \ printf("PASS: %s\n", msg); \ - } \ + } \ } while (0) void test_make_int() { -- cgit v1.2.3