diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-04-12 20:13:38 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-04-12 20:13:38 +0200 |
| commit | 1eb2d4832a590c809e38840f970b4506661c89cf (patch) | |
| tree | fca2dd708d72b0f00ff550f163e2409301241a41 /helper.c | |
| parent | 148e3a3a42a485c8a48ca49d32f23c0d97d41549 (diff) | |
| download | libasm_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.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -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); -} |
