aboutsummaryrefslogtreecommitdiff
path: root/test/checker.cc
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-03-14 21:28:21 +0100
committerjohannst <johannes.stoelp@gmail.com>2021-03-14 21:28:21 +0100
commit59cc5384defab6cb7a949589032963ff3965edfe (patch)
treed51a1465c53177c9f221904fc37a53d60c54653a /test/checker.cc
parent877b4b9889a3ba5e935373580fefaf9d747001ec (diff)
downloaddynld-59cc5384defab6cb7a949589032963ff3965edfe.tar.gz
dynld-59cc5384defab6cb7a949589032963ff3965edfe.zip
test: Improve type-safety of test fns.
Diffstat (limited to 'test/checker.cc')
-rw-r--r--test/checker.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/checker.cc b/test/checker.cc
index 2a06666..d5afa87 100644
--- a/test/checker.cc
+++ b/test/checker.cc
@@ -58,11 +58,11 @@ void check_exceed_len() {
int main() {
TEST_INIT;
- TEST(check_dec);
- TEST(check_hex);
- TEST(check_ptr);
- TEST(check_null);
- TEST(check_exact_len);
- TEST(check_exceed_len);
- return TEST_FAIL_CNT;
+ TEST_ADD(check_dec);
+ TEST_ADD(check_hex);
+ TEST_ADD(check_ptr);
+ TEST_ADD(check_null);
+ TEST_ADD(check_exact_len);
+ TEST_ADD(check_exceed_len);
+ return TEST_RUN;
}