Changed the functions so that they pass the alelievr/libft-unit-test.
authorLukas Jiriste <ljiriste@student.42prague.com>
Tue, 5 Sep 2023 17:14:17 +0000 (19:14 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Tue, 5 Sep 2023 17:14:17 +0000 (19:14 +0200)
commit0beab7c9eed152a91c60612ec90d2a40390f12b1
tree06f00b35f22ad63fd0cf3c60ccbc62de28076aaa
parent176dfd9fd936e853cf87239219416ee774602dcf
Changed the functions so that they pass the alelievr/libft-unit-test.
ft_strtrim needs to also handle empty strings and strings containing only chars from set.
14 files changed:
ft_calloc.c
ft_lstclear.c
ft_lstdelone.c
ft_memcpy.c
ft_putstr_fd.c
ft_split.c
ft_striteri.c
ft_strjoin.c
ft_strlcat.c
ft_strmapi.c
ft_strncmp.c
ft_strnstr.c
ft_strtrim.c
ft_substr.c