summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-07 00:29:51 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-07 00:29:51 +0400
commit89b41695439cf5729d2fee343af2ee6f86c0310d (patch)
treea6d8b2ca7bde18b235cc4a39ad3b0968550085f4 /source
parenteedd3e7e4cdacc419ee30e4f619529cb66bf1c19 (diff)
downloadkit-89b41695439cf5729d2fee343af2ee6f86c0310d.zip
fix REQUIRE
Diffstat (limited to 'source')
-rw-r--r--source/kit_test/test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/kit_test/test.h b/source/kit_test/test.h
index a57f768..f53ab88 100644
--- a/source/kit_test/test.h
+++ b/source/kit_test/test.h
@@ -83,8 +83,8 @@ extern struct kit_tests_list kit_tests_list;
KIT_TEST_FILE)( \
int kit_test_index_, kit_test_report kit_test_report_)
-#define KIT_REQUIRE(ok) \
- kit_test_report_(kit_test_index_, __FILE__, __LINE__, (ok))
+#define KIT_REQUIRE(...) \
+ kit_test_report_(kit_test_index_, __FILE__, __LINE__, (__VA_ARGS__))
int kit_run_tests(int argc, char **argv);