diff --git a/ft_strtrim_expected.output b/ft_strtrim_expected.output new file mode 100644 index 0000000..09f1a1f --- /dev/null +++ b/ft_strtrim_expected.output @@ -0,0 +1,6 @@ +test 1: str1:[Lorem], result:[Lorem] +test 2: str1:[ Lorem ], result:[Lorem] +test 3: str1:[ Lorem ], result:[ore] +test 4: str1:[ ], result:[] +test 5: str1:[-NULL-], result:[] +test 6: str1:[Lorem], result:[Lorem] diff --git a/ft_strtrim_test.c b/ft_strtrim_test.c index 6186dd7..df42a61 100644 --- a/ft_strtrim_test.c +++ b/ft_strtrim_test.c @@ -6,7 +6,7 @@ /* By: lalgarra +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/10/08 20:50:12 by lalgarra #+# #+# */ -/* Updated: 2025/10/08 21:32:34 by lalgarra ### ########.fr */ +/* Updated: 2025/10/08 21:53:15 by lalgarra ### ########.fr */ /* */ /* ************************************************************************** */ @@ -45,6 +45,6 @@ int main(void) test("test 3: ", " Lorem ", " Lm"); test("test 4: ", " ", " "); test("test 5: ", (void *)0, " "); - test("test 1: ", "Lorem", (void *)0); + test("test 6: ", "Lorem", (void *)0); return (0); }