diff options
| author | Felix Perktold <Felix.Perktold@student.uibk.ac.at> | 2025-12-22 00:14:15 +0100 |
|---|---|---|
| committer | Felix Perktold <Felix.Perktold@student.uibk.ac.at> | 2025-12-22 00:14:15 +0100 |
| commit | a7a070371bcc10d0dbf94e503650856ac37ed81d (patch) | |
| tree | 7b2e5968b623d15947bc0537a4ff64a385119f68 /test.c | |
| parent | 33b3d80c2dcd12dbf692984e0d736bfa9906a8b5 (diff) | |
add reading from files, add quote shorthand (')
Diffstat (limited to 'test.c')
| -rw-r--r-- | test.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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() { |
