From 1eb2d4832a590c809e38840f970b4506661c89cf Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 12 Apr 2020 20:13:38 +0200 Subject: Printing ft_strlen and ft_strcmp arguments on failed test --- helper.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'helper.c') diff --git a/helper.c b/helper.c index c831090..17d7bcb 100644 --- a/helper.c +++ b/helper.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/08 03:07:07 by cacharle #+# #+# */ -/* Updated: 2020/02/08 03:07:08 by cacharle ### ########.fr */ +/* Updated: 2020/04/12 20:05:58 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -26,13 +26,3 @@ print_signaled_ko(void) printf("KO: [SEGFAULT]: %s\n", test_name); fflush(stdout); } - -void -expect_int(int expected, int actual) -{ - if (actual != expected) - printf("KO: [COMPARE]: %s: expected: %d got: %d\n", test_name, expected, actual); - else - print_ok(); - fflush(stdout); -} -- cgit