From 41baa7a49b8366881cada579c383a6a52fd018f4 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 6 Feb 2020 17:42:51 +0100 Subject: removing unnecessary tests --- main.c | 1 + tests/pft_tests.c | 2 -- tests/tests.h | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 0338628..eebe845 100644 --- a/main.c +++ b/main.c @@ -8,6 +8,7 @@ int main(int argc, char **argv) (void)argv; test_pft_nacked(); test_pft_percent(); + /* test_pft_nocrash(); */ test_pft_string(); test_pft_int_i(); test_pft_int_d(); diff --git a/tests/pft_tests.c b/tests/pft_tests.c index 61fb51d..0c3455f 100644 --- a/tests/pft_tests.c +++ b/tests/pft_tests.c @@ -38,9 +38,7 @@ void test_pft_nocrash(void) ASSERT_PRINTF("%hp", &ncm_p); ASSERT_PRINTF("%lp", &ncm_p); ASSERT_PRINTF("%llp", &ncm_p); - ASSERT_PRINTF("%Lp", &ncm_p); ASSERT_PRINTF("%-p", &ncm_p); - ASSERT_PRINTF("%Ld", 42); ASSERT_PRINTF("%#d", 42); ASSERT_PRINTF("%hhhd", 42); ASSERT_PRINTF("%hhhhd", 42); diff --git a/tests/tests.h b/tests/tests.h index 121f8c6..8b045e1 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -3,6 +3,7 @@ void test_pft_nacked(void); void test_pft_percent(void); +void test_pft_nocrash(void); void test_pft_string(void); void test_pft_int_i(void); void test_pft_int_d(void); -- cgit