summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/forEach/15.4.4.18-7-b-14.js
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2015-08-06 18:14:23 +0200
committerAndré Bargull <andre.bargull@gmail.com>2015-08-06 18:14:23 +0200
commite8246fd9f09da643bddc467229fa48f81c698978 (patch)
treed657d875dda36f5ea2e4ce7f13694056f896bfc4 /test/built-ins/Array/prototype/forEach/15.4.4.18-7-b-14.js
parentce98c25647f0de5294fc3986eddfd73f75076fab (diff)
downloadqtdeclarative-testsuites-e8246fd9f09da643bddc467229fa48f81c698978.tar.gz
Replace runTestCase with assert helpers [test/built-ins/Array/prototype/forEach]
Diffstat (limited to 'test/built-ins/Array/prototype/forEach/15.4.4.18-7-b-14.js')
-rw-r--r--test/built-ins/Array/prototype/forEach/15.4.4.18-7-b-14.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-7-b-14.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-7-b-14.js
index d4b4f023a..23c882a61 100644
--- a/test/built-ins/Array/prototype/forEach/15.4.4.18-7-b-14.js
+++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-7-b-14.js
@@ -6,11 +6,8 @@ es5id: 15.4.4.18-7-b-14
description: >
Array.prototype.forEach - decreasing length of array causes index
property not to be visited
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var accessed = false;
var testResult = true;
@@ -33,6 +30,5 @@ function testcase() {
arr.forEach(callbackfn);
- return testResult && accessed;
- }
-runTestCase(testcase);
+assert(testResult, 'testResult !== true');
+assert(accessed, 'accessed !== true');