From 0943b2a6605a32ad48e7ba02673c15c2b15e9778 Mon Sep 17 00:00:00 2001 From: Leonardo Algarra Date: Sat, 11 Oct 2025 14:15:18 +0200 Subject: [PATCH] Additional test for split() --- ft_split_expected.output | Bin 284 -> 375 bytes ft_split_test.c | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ft_split_expected.output b/ft_split_expected.output index f3a0d4f6176abe8bb17ec216345b20ebe0f93f4e..ed7796d5ec742be6ff6335d6ae51cd80226b9435 100644 GIT binary patch delta 86 zcmbQk^qpzKOCM7!h2oMTL#ybxxH!YOIHN=zAS2EgMCj^ffT&mI0PPAJ%m4rY delta 10 Rcmey)G>2)z%gHW`#sC@W1RMYW diff --git a/ft_split_test.c b/ft_split_test.c index e867a98..ee0e879 100644 --- a/ft_split_test.c +++ b/ft_split_test.c @@ -6,7 +6,7 @@ /* By: lalgarra +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/10/09 17:20:58 by lalgarra #+# #+# */ -/* Updated: 2025/10/09 17:53:43 by lalgarra ### ########.fr */ +/* Updated: 2025/10/11 14:13:39 by lalgarra ### ########.fr */ /* */ /* ************************************************************************** */ @@ -70,6 +70,7 @@ int main(void) test("test 2: ", " Lorem ", ' '); test("test 3: ", " Lorem ", 'r'); test("test 4: ", (void *)0, ' '); + test("test 5: ", "^^^1^^2a,^^^^3^^^^--h^^^^", '^'); test("test 6: ", "Lorem", '\0'); return (0); }