diff options
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-8-2.js')
-rw-r--r-- | test/built-ins/Array/prototype/indexOf/15.4.4.14-8-2.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-2.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-2.js index c65c70213..02441ef35 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-2.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-8-2.js @@ -6,11 +6,6 @@ es5id: 15.4.4.14-8-2 description: > Array.prototype.indexOf returns correct index when 'fromIndex' is -1 -includes: [runTestCase.js] ---*/ -function testcase() { - - return [1, 2, 3, 4].indexOf(4, -1) === 3; - } -runTestCase(testcase); +assert.sameValue([1, 2, 3, 4].indexOf(4, -1), 3, '[1, 2, 3, 4].indexOf(4, -1)'); |