alelievr / libft-unit-test

455 stars 88 forks source link

add ft_substr test #83

Closed hiroin closed 4 years ago

hiroin commented 4 years ago

Add a test for the ft_substr function when the second argument is larger than the number of characters given as the first argument. If the second argument is greater than the number of characters given as the first argument, the ft_substr function returns an empty character.

alelievr commented 4 years ago

Thanks for the improvement :)