aboutsummaryrefslogtreecommitdiff
path: root/helper.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-04-12 20:13:38 +0200
committerCharles <sircharlesaze@gmail.com>2020-04-12 20:13:38 +0200
commit1eb2d4832a590c809e38840f970b4506661c89cf (patch)
treefca2dd708d72b0f00ff550f163e2409301241a41 /helper.c
parent148e3a3a42a485c8a48ca49d32f23c0d97d41549 (diff)
downloadlibasm_test-1eb2d4832a590c809e38840f970b4506661c89cf.tar.gz
libasm_test-1eb2d4832a590c809e38840f970b4506661c89cf.tar.bz2
libasm_test-1eb2d4832a590c809e38840f970b4506661c89cf.zip
Printing ft_strlen and ft_strcmp arguments on failed test
Diffstat (limited to 'helper.c')
-rw-r--r--helper.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/helper.c b/helper.c
index c831090..17d7bcb 100644
--- a/helper.c
+++ b/helper.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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);
-}