diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-134.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-134.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-134.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-134.js index f6b14974d..25e3a8e4f 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-134.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-134.js @@ -7,10 +7,8 @@ description: > Object.defineProperty - 'value' property in 'Attributes' is own accessor property that overrides an inherited data property (8.10.5 step 5.a) -includes: [runTestCase.js] ---*/ -function testcase() { var obj = {}; var proto = { @@ -29,6 +27,4 @@ function testcase() { Object.defineProperty(obj, "property", child); - return obj.property === "ownAccessorProperty"; - } -runTestCase(testcase); +assert.sameValue(obj.property, "ownAccessorProperty", 'obj.property'); |