adding test for RFindCharInSet with no explicit offset parameter

This commit is contained in:
darin%meer.net 2004-04-29 03:36:47 +00:00
parent 9e7903145e
commit cdedae5f14

View File

@ -576,6 +576,10 @@ PRBool test_rfindcharinset()
if (index != kNotFound)
return PR_FALSE;
index = buf.RFindCharInSet("h");
if (index != 7)
return PR_FALSE;
return PR_TRUE;
}