summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/forEach/15.4.4.18-3-16.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/forEach/15.4.4.18-3-16.js')
-rw-r--r--test/built-ins/Array/prototype/forEach/15.4.4.18-3-16.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-3-16.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-3-16.js
index c74f9c068..d1ce1e54c 100644
--- a/test/built-ins/Array/prototype/forEach/15.4.4.18-3-16.js
+++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-3-16.js
@@ -6,11 +6,8 @@ es5id: 15.4.4.18-3-16
description: >
Array.prototype.forEach - 'length' is a string containing a hex
number
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var testResult = false;
function callbackfn(val, idx, obj) {
@@ -21,6 +18,4 @@ function testcase() {
Array.prototype.forEach.call(obj, callbackfn);
- return testResult;
- }
-runTestCase(testcase);
+assert(testResult, 'testResult !== true');