You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last test of the function ft_write checks that the function returns a correct error value (-1) and that it sets correctly the value of errno depending on the error that occurred. In that test, NULL is passed as the second argument, and the currently expected errno value is EINVAL, but this is wrong. Indeed, the correct expected errno value is EFAULT.
The text was updated successfully, but these errors were encountered:
The last test of the function
ft_write
checks that the function returns a correct error value (-1) and that it sets correctly the value oferrno
depending on the error that occurred. In that test,NULL
is passed as the second argument, and the currently expected errno value isEINVAL
, but this is wrong. Indeed, the correct expected errno value isEFAULT
.The text was updated successfully, but these errors were encountered: