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:
Michael Jerris 2009-02-11 16:17:58 +00:00
parent 7e750dcf97
commit 1ad83d3c42
1 changed files with 3 additions and 0 deletions

View File

@ -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");
}
{