Thu Jan 8 14:11:49 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_string.c: fixed su_strcasestr() git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11778 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7e750dcf97
commit
1ad83d3c42
|
@ -147,6 +147,9 @@ int test_strcasestr(void)
|
|||
TEST_1(su_strcasestr("OnG", hs) == NULL);
|
||||
TEST_1(su_strcasestr(hs, "Z") == NULL);
|
||||
TEST_1(su_strcasestr(hs, "z") == NULL);
|
||||
|
||||
TEST_S(su_strcasestr("foobar", "OB"), "obar");
|
||||
TEST_S(su_strcasestr("FOOBAR", "ob"), "OBAR");
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue