Test also looking for the last char
This commit is contained in:
parent
017df44f89
commit
0d8912ffe9
1 changed files with 4 additions and 0 deletions
|
@ -382,6 +382,10 @@ int main(int argc, char**argv)
|
|||
TEST("abc", 'b', 1, NULL);
|
||||
TEST("abc", 'b', 2, s+1);
|
||||
TEST("abc", 'b', 3, s+1);
|
||||
TEST("abc", 'c', 0, NULL);
|
||||
TEST("abc", 'c', 1, NULL);
|
||||
TEST("abc", 'c', 2, NULL);
|
||||
TEST("abc", 'c', 3, s+2);
|
||||
|
||||
if (success)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue