alelievr / libft-unit-test

455 stars 88 forks source link

ft_strnstr len = 0 test missing #56

Closed BlackChrRaw closed 5 years ago

BlackChrRaw commented 5 years ago

When testing ft_strnstr, len = 0, needle = "", the function should return a pointer to the haystack but this test doesnt check that.

alelievr commented 5 years ago

Test added in 3b3d886 thanks !