Verify that String#lastIndexOf handles large fromIndex correctly

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin 2013-10-25 13:24:05 -05:00
parent 2ff0178da4
commit c1ec6020a6

View File

@ -203,6 +203,8 @@ public class Strings {
System.getProperty("line.separator").getBytes())));
}
expect("abc".lastIndexOf('b', 100) == 1);
testTrivialPattern();
}
}