summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-461.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-461.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-461.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-461.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-461.js
index 45241ce3c..0def8453a 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-461.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-461.js
@@ -7,10 +7,8 @@ description: >
ES5 Attributes - property ([[Get]] is undefined, [[Set]] is a
Function, [[Enumerable]] is true, [[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")');