summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-26.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-c-i-26.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-c-i-26.js')
-rw-r--r--test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-26.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-26.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-26.js
index 34f86fa85..b3db7c3b6 100644
--- a/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-26.js
+++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-26.js
@@ -7,11 +7,8 @@ description: >
Array.prototype.forEach - This object is the Arguments object
which implements its own property get method (number of arguments
equals number of parameters)
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var called = 0;
var testResult = false;
@@ -35,6 +32,4 @@ function testcase() {
func(11, 9);
- return testResult;
- }
-runTestCase(testcase);
+assert(testResult, 'testResult !== true');