diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-75.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-75.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-75.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-75.js index 5dbc26706..57de46485 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-75.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-75.js @@ -6,10 +6,8 @@ es5id: 15.2.3.6-3-75 description: > Object.defineProperty - 'configurable' property in 'Attributes' is own data property (8.10.5 step 4.a) -includes: [runTestCase.js] ---*/ -function testcase() { var obj = { }; Object.defineProperty(obj, "property", { @@ -22,6 +20,5 @@ function testcase() { var afterDeleted = obj.hasOwnProperty("property"); - return beforeDeleted === true && afterDeleted === false; - } -runTestCase(testcase); +assert.sameValue(beforeDeleted, true, 'beforeDeleted'); +assert.sameValue(afterDeleted, false, 'afterDeleted'); |