refine tests
This commit is contained in:
parent
bbc2e7ee85
commit
d02958ca09
|
@ -271,7 +271,7 @@ public class CharSequenceUtilsTest {
|
|||
private void testNewLastIndexOfSingleSingle(CharSequence a, CharSequence b, int start) {
|
||||
assertEquals(
|
||||
a.toString().lastIndexOf(b.toString(), start),
|
||||
CharSequenceUtils.lastIndexOf(new WrapperString(a.toString()), b.toString(), start),
|
||||
CharSequenceUtils.lastIndexOf(new WrapperString(a.toString()), new WrapperString(b.toString()), start),
|
||||
"testNewLastIndexOf fails! original : " + a + " seg : " + b + " start : " + start
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue