mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
adding test for RFindCharInSet with no explicit offset parameter
This commit is contained in:
parent
9e7903145e
commit
cdedae5f14
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user