diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-81.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-81.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-81.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-81.js index 225758235..a4f3021f6 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-81.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-81.js @@ -7,10 +7,8 @@ description: > Object.defineProperty - 'configurable' property in 'Attributes' is own accessor property that overrides an inherited data property (8.10.5 step 4.a) -includes: [runTestCase.js] ---*/ -function testcase() { var obj = {}; var proto = { @@ -35,6 +33,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'); |