diff options
Diffstat (limited to 'test/built-ins/Array/prototype/forEach/15.4.4.18-3-2.js')
-rw-r--r-- | test/built-ins/Array/prototype/forEach/15.4.4.18-3-2.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-3-2.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-3-2.js index c244fe1fe..91db62edb 100644 --- a/test/built-ins/Array/prototype/forEach/15.4.4.18-3-2.js +++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-3-2.js @@ -6,11 +6,8 @@ es5id: 15.4.4.18-3-2 description: > Array.prototype.forEach - value of 'length' is a boolean (value is true) -includes: [runTestCase.js] ---*/ -function testcase() { - var testResult = false; function callbackfn(val, idx, obj) { testResult = (val > 10); @@ -20,6 +17,4 @@ function testcase() { Array.prototype.forEach.call(obj, callbackfn); - return testResult; - } -runTestCase(testcase); +assert(testResult, 'testResult !== true'); |