diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-23.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-23.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-23.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-23.js index ed712ea3e..bb1b20d09 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-23.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-23.js @@ -6,10 +6,8 @@ es5id: 15.2.3.6-3-23 description: > Object.defineProperty - 'enumerable' property in 'Attributes' is an inherited data property (8.10.5 step 3.a) -includes: [runTestCase.js] ---*/ -function testcase() { var obj = {}; var accessed = false; @@ -30,6 +28,5 @@ function testcase() { accessed = true; } } - return accessed; - } -runTestCase(testcase); + +assert(accessed, 'accessed !== true'); |