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