annotate test/script/basic/JDK-8015349.js.EXPECTED @ 301:a2e2797392b3

8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1 Reviewed-by: lagergren, attila, jlaskey
author sundar
date Wed, 29 May 2013 21:27:10 +0530
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
301
a2e2797392b3 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
1 'abc'.lastIndexOf('a', 4) = 0
a2e2797392b3 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
2 'abc'.lastIndexOf('b', Infinity) = 1
a2e2797392b3 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
3 'abc'.lastIndexOf('a', -1) = 0
a2e2797392b3 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
4 'abc'.lastIndexOf('a', -Infinity) = 0
a2e2797392b3 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
5 'oracle'.lastIndexOf('u') = -1
a2e2797392b3 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
6 'hello'.lastIndexOf('l') = 3
a2e2797392b3 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
7 'hello'.lastIndexOf('l', 2) = 2
a2e2797392b3 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
8 'hello'.lastIndexOf('l', 3) = 3
a2e2797392b3 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
9 'hello'.lastIndexOf('l', 1) = -1