summaryrefslogtreecommitdiff
path: root/src/kernel/tests/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tests/base.h')
-rw-r--r--src/kernel/tests/base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/tests/base.h b/src/kernel/tests/base.h
index 877b179..4c91d10 100644
--- a/src/kernel/tests/base.h
+++ b/src/kernel/tests/base.h
@@ -14,10 +14,10 @@ extern bool _did_tests_fail;
#define TEST_RUN(name) \
__test_##name();
-#define TEST_IF(cond) \
+#define TEST_COND(cond) \
if (!(cond)) { \
_did_tests_fail = true; \
- log_const("TEST_IF failed at " \
+ log_const("test failed at " \
__FILE__ ":" NUM2STR(__LINE__) \
" "); \
}