summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-479.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-479.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-479.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-479.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-479.js
index d15251c9b..8faf0c6c1 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-479.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-479.js
@@ -7,10 +7,8 @@ description: >
ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a
Function, [[Enumerable]] is false, [[Configurable]] is true) is
deletable
-includes: [runTestCase.js]
---*/
-function testcase() {
var obj = {};
var verifySetFunc = "data";
@@ -30,6 +28,6 @@ function testcase() {
delete obj.prop;
- return propertyDefineCorrect && desc.configurable === true && !obj.hasOwnProperty("prop");
- }
-runTestCase(testcase);
+assert(propertyDefineCorrect, 'propertyDefineCorrect !== true');
+assert.sameValue(desc.configurable, true, 'desc.configurable');
+assert.sameValue(obj.hasOwnProperty("prop"), false, 'obj.hasOwnProperty("prop")');