-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KO strsplit #101
Comments
Hello! Thanks for contributing to the libft unit test. Note that this repository is not maintained by the owner anymore, instead there is a bot that will automatically merge any reviewed pull requests. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A friend get killed in this test in the strsplit and passed in all of ur tests.
char *str = "1-2-3-4-5-6-7-8--8-8--8-4------4--4"
char *sep = '-'
char *str = "--1-2-3-4-5-6-7-8--8-8--8-4------4--4"
char *sep = '-'
Expected result: 1-2-3-4-5-6-7-8-8-8-8-4-4-4
RES[0]:$1$ -> 0x602000000210$2$ -> 0x602000000230$3$ -> 0x602000000250$4$ -> 0x602000000270$5$ -> 0x602000000290$6$ -> 0x6020000002b0$7$ -> 0x6020000002d0$8$ -> 0x6020000002f0$8$ -> 0x602000000310$8$ -> 0x602000000330$8$ -> 0x602000000350$4$ -> 0x602000000370$4$ -> 0x602000000390$4$ -> 0x6020000003b0$(null)$ -> (nil)
RES[1]:
RES[2]:
RES[3]:
RES[4]:
RES[5]:
RES[6]:
RES[7]:
RES[8]:
RES[9]:
RES[10]:
RES[11]:
RES[12]:
RES[13]:
RES[14]:
The text was updated successfully, but these errors were encountered: