Skip to content

Commit

Permalink
add: Added test case for C03/ex04/ft_strstr.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio de Santiago Redondo authored and k11q committed Jul 24, 2024
1 parent 06b29e6 commit 50b2e14
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mini-moul/tests/C03/ex04/ft_strstr.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ int main(void)
.find = "abcd",
.expected_output = NULL,
},
{
.desc = "Find a substring with existing characters",
.str = "-62,47 +62,47",
.find = "-47",
.expected_output = NULL,
},
};
int count = sizeof(tests) / sizeof(tests[0]);

Expand Down

0 comments on commit 50b2e14

Please sign in to comment.