diff options
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-7-3.js')
-rw-r--r-- | test/built-ins/Array/prototype/indexOf/15.4.4.14-7-3.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-3.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-3.js index 44f682486..f6ffe860f 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-3.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-7-3.js @@ -6,11 +6,6 @@ es5id: 15.4.4.14-7-3 description: > Array.prototype.indexOf returns -1 when 'fromIndex' and 'length' are both 0 -includes: [runTestCase.js] ---*/ -function testcase() { - - return [].indexOf(1, 0) === -1; - } -runTestCase(testcase); +assert.sameValue([].indexOf(1, 0), -1, '[].indexOf(1, 0)'); |