diff options
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-5-1.js')
-rw-r--r-- | test/built-ins/Array/prototype/some/15.4.4.17-5-1.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-5-1.js b/test/built-ins/Array/prototype/some/15.4.4.17-5-1.js index 6a72406c2..b33dd69f2 100644 --- a/test/built-ins/Array/prototype/some/15.4.4.17-5-1.js +++ b/test/built-ins/Array/prototype/some/15.4.4.17-5-1.js @@ -5,10 +5,9 @@ es5id: 15.4.4.17-5-1 description: Array.prototype.some - thisArg is passed flags: [noStrict] -includes: [runTestCase.js] ---*/ -function testcase() { +(function() { this._15_4_4_17_5_1 = false; var _15_4_4_17_5_1 = true; @@ -16,6 +15,6 @@ function testcase() { return this._15_4_4_17_5_1; } var arr = [1]; - return !arr.some(callbackfn); - } -runTestCase(testcase); + +assert.sameValue(arr.some(callbackfn), false, 'arr.some(callbackfn)'); +})(); |