J2K: Special conversion for java.lang.String methods: tests for lastIndexOf

#KT-7732
This commit is contained in:
Ilya Gorbunov
2015-10-06 20:27:54 +03:00
parent 7a0a23366c
commit 77a46cab92
2 changed files with 12 additions and 0 deletions
@@ -41,6 +41,12 @@ class A {
s.startsWith("st", 2);
s.indexOf("st");
s.indexOf("st", 5);
s.lastIndexOf("st");
s.lastIndexOf("st", 4);
s.indexOf('t');
s.indexOf('t', 5);
s.lastIndexOf('t');
s.lastIndexOf('t', 5);
s.substring(1);
s.substring(0, 4);
s.subSequence(0, 4);