From 2c0981859eee38323c04537b68fb138ef986095f Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 14 Nov 2019 09:20:43 +0100 Subject: Added memory leaks check --- tests/moulitest_tests.c | 2 +- tests/printf_tester_tests.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/moulitest_tests.c b/tests/moulitest_tests.c index f6c839b..29977a3 100644 --- a/tests/moulitest_tests.c +++ b/tests/moulitest_tests.c @@ -141,7 +141,7 @@ void test_moulitest_40(void) ASSERT_PRINTF("%lu, %lu", 0ul, ULONG_MAX); ASSERT_PRINTF("%lx, %lx", 0ul, ULONG_MAX); ASSERT_PRINTF("%lX, %lX", 0ul, ULONG_MAX); - ASSERT_PRINTF("%lc, %lc", L'暖', L'ح'); + /* ASSERT_PRINTF("%lc, %lc", L'暖', L'ح'); */ } void test_moulitest_41(void) diff --git a/tests/printf_tester_tests.c b/tests/printf_tester_tests.c index 48b9269..bd178e1 100644 --- a/tests/printf_tester_tests.c +++ b/tests/printf_tester_tests.c @@ -160,7 +160,7 @@ void test_printf_tester(void) ASSERT_PRINTF("04 Test de chiffre sans h : %d, et %d\n", 432767, -432767); /* ASSERT_PRINTF("%d\n", printf("03 This is a float : %f\n\n", 45.236)); */ /* ASSERT_PRINTF("%d\n", printf("02 This is a float : %.3f\n\n", 45.236)); */ - /* ASSERT_PRINTF("%d\n", printf("01 This is a float : %3f\n\n", 45.236)); */ + /* ASSERT_PRINTF("%d\n", printf("01 This is a float : %3f\n\n", 45.236)); */ /* ASSERT_PRINTF("%d\n", printf("000 This is a float : %f\n\n", -45.236)); */ /* ASSERT_PRINTF("%d\n", printf("0 This is a float : %.3f\n\n", -45.236)); */ /* ASSERT_PRINTF("%d\n", printf("00 This is a float : %3f\n\n", -45.236)); */ @@ -216,7 +216,7 @@ void test_printf_tester(void) ASSERT_PRINTF("%d\n", t); ASSERT_PRINTF("%40s %n", "co", &t); ASSERT_PRINTF("%d\n", t); - /* ASSERT_PRINTF("%050 d%n", 500, &t); */ + ASSERT_PRINTF("%050d%n", 500, &t); ASSERT_PRINTF("%d\n", t); /* ASSERT_PRINTF("%d\n\n", printf("1string 1 %s string 2 %s\n\n", "toto", "bonjour")); */ /* ASSERT_PRINTF("%d\n\n", printf("3string 1 % s string 2 % s\n\n", "toto", "bonjour")); */ -- cgit