aboutsummaryrefslogtreecommitdiff
path: root/test/checker.cc
diff options
context:
space:
mode:
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;
}