diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-07 00:29:51 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-07 00:29:51 +0400 |
commit | 89b41695439cf5729d2fee343af2ee6f86c0310d (patch) | |
tree | a6d8b2ca7bde18b235cc4a39ad3b0968550085f4 /source/kit_test | |
parent | eedd3e7e4cdacc419ee30e4f619529cb66bf1c19 (diff) | |
download | kit-89b41695439cf5729d2fee343af2ee6f86c0310d.zip |
fix REQUIRE
Diffstat (limited to 'source/kit_test')
-rw-r--r-- | source/kit_test/test.h | 4 |
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); |