diff options
Diffstat (limited to 'test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-7-4.js')
-rw-r--r-- | test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-7-4.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-7-4.js b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-7-4.js index c695f01b2..973e668e6 100644 --- a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-7-4.js +++ b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-7-4.js @@ -6,11 +6,6 @@ es5id: 15.4.4.15-7-4 description: > Array.prototype.lastIndexOf returns -1 when abs('fromIndex') is length of array -includes: [runTestCase.js] ---*/ -function testcase() { - - return [1, 2, 3, 4].lastIndexOf(2, -4) === -1; - } -runTestCase(testcase); +assert.sameValue([1, 2, 3, 4].lastIndexOf(2, -4), -1, '[1, 2, 3, 4].lastIndexOf(2, -4)'); |