diff options
Diffstat (limited to 'tests/test_class_db.h')
-rw-r--r-- | tests/test_class_db.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_class_db.h b/tests/test_class_db.h index 11bf95ae28..faf6fe925e 100644 --- a/tests/test_class_db.h +++ b/tests/test_class_db.h @@ -42,10 +42,10 @@ #include "tests/test_macros.h" -#define TEST_COND DOCTEST_CHECK_FALSE_MESSAGE -#define TEST_FAIL DOCTEST_FAIL -#define TEST_FAIL_COND DOCTEST_REQUIRE_FALSE_MESSAGE -#define TEST_FAIL_COND_WARN DOCTEST_WARN_FALSE_MESSAGE +#define TEST_COND(cond, msg) DOCTEST_CHECK_FALSE_MESSAGE(cond, String(msg)) +#define TEST_FAIL(cond, msg) DOCTEST_FAIL(cond, String(msg)) +#define TEST_FAIL_COND(cond, msg) DOCTEST_REQUIRE_FALSE_MESSAGE(cond, String(msg)) +#define TEST_FAIL_COND_WARN(cond, msg) DOCTEST_WARN_FALSE_MESSAGE(cond, String(msg)) namespace TestClassDB { |