aboutsummaryrefslogtreecommitdiff
path: root/test/include/test.h
diff options
context:
space:
mode:
authorc2024-01-27 10:32:18 -0500
committerc2024-01-27 10:32:18 -0500
commitf48c3a6cb320c897ca7477af17f8e5eb7447fd72 (patch)
tree053890a8497f0459cb08ddb0c5caad6daa617e3a /test/include/test.h
parent0ff1d40842390da36908c7ffce62f2cf33b173b9 (diff)
Simple parser tests passing :).
Diffstat (limited to 'test/include/test.h')
-rw-r--r--test/include/test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/include/test.h b/test/include/test.h
index c5fd97e..02c3d18 100644
--- a/test/include/test.h
+++ b/test/include/test.h
@@ -11,8 +11,8 @@ extern unsigned int TESTS_PASSED;
#define ASSERT(EXPR) \
TESTS_RUN++; \
(EXPR && ++TESTS_PASSED) ? \
- log_inf("%s:%d: Assertion passed!", __FILE__, __LINE__) : \
- log_err("%s:%d: Assertion failed:\n\t%s", __FILE__, __LINE__, #EXPR);
+ log_inf("%s:%s:%d: Assertion passed!", __func__, __FILE__, __LINE__) : \
+ log_err("%s:%s:%d: Assertion failed:\n\t%s", __func__, __FILE__, __LINE__, #EXPR);
#define TEST_REPORT \
(TESTS_RUN == TESTS_PASSED) ? \