diff options
author | André Bargull <andre.bargull@gmail.com> | 2015-08-13 17:56:55 +0200 |
---|---|---|
committer | André Bargull <andre.bargull@gmail.com> | 2015-08-13 17:57:23 +0200 |
commit | 4ec97779fdea46207c589dbe36f41785343a61a8 (patch) | |
tree | 031e2fc65c79fd3755cf4e61f0abee44e035ac3f /test/built-ins/Array/prototype/forEach/15.4.4.18-5-1.js | |
parent | 1b14708467b4cab8055effad884071123637e475 (diff) | |
download | qtdeclarative-testsuites-4ec97779fdea46207c589dbe36f41785343a61a8.tar.gz |
Replace runTestCase with assert helpers, rest [test/built-ins]
Diffstat (limited to 'test/built-ins/Array/prototype/forEach/15.4.4.18-5-1.js')
-rw-r--r-- | test/built-ins/Array/prototype/forEach/15.4.4.18-5-1.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-5-1.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-5-1.js index 500c57c37..80b584e9f 100644 --- a/test/built-ins/Array/prototype/forEach/15.4.4.18-5-1.js +++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-5-1.js @@ -5,10 +5,9 @@ es5id: 15.4.4.18-5-1 description: Array.prototype.forEach - thisArg is passed flags: [noStrict] -includes: [runTestCase.js] ---*/ -function testcase() { +(function() { this._15_4_4_18_5_1 = false; var _15_4_4_18_5_1 = true; var result; @@ -17,6 +16,6 @@ function testcase() { } var arr = [1]; arr.forEach(callbackfn) - return !result; - } -runTestCase(testcase); + +assert.sameValue(result, false, 'result'); +})(); |