nashorn/test/script/basic/JDK-8015349.js.EXPECTED
author serb
Thu, 30 Jul 2015 15:27:02 +0300
changeset 32126 6611b32dfa58
parent 17781 1d40bf1412e0
permissions -rw-r--r--
8132382: [macosx] Crash during JMC or JavaFX execution when NSApplication is controlled by SWT or JavaFX libraries Reviewed-by: kizune, alexsch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17781
1d40bf1412e0 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
     1
'abc'.lastIndexOf('a', 4) = 0
1d40bf1412e0 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
     2
'abc'.lastIndexOf('b', Infinity) = 1
1d40bf1412e0 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
     3
'abc'.lastIndexOf('a', -1) = 0
1d40bf1412e0 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
     4
'abc'.lastIndexOf('a', -Infinity) = 0
1d40bf1412e0 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
     5
'oracle'.lastIndexOf('u') = -1
1d40bf1412e0 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
     6
'hello'.lastIndexOf('l') = 3
1d40bf1412e0 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
     7
'hello'.lastIndexOf('l', 2) = 2
1d40bf1412e0 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
     8
'hello'.lastIndexOf('l', 3) = 3
1d40bf1412e0 8015349: "abc".lastIndexOf("a",-1) should evaluate to 0 and not -1
sundar
parents:
diff changeset
     9
'hello'.lastIndexOf('l', 1) = -1