summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-5-a-5.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-a-5.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-5-a-5.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-a-5.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-a-5.js
index a5cb3fb6a..f25ba775b 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-5-a-5.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-a-5.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.7-5-a-5
description: >
Object.defineProperties - enumerable own accessor property of
'Properties' without a get function is defined in 'O'
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
var props = {};
@@ -25,6 +22,5 @@ function testcase() {
Object.defineProperties(obj, props);
- return obj.hasOwnProperty("prop") && typeof obj.prop === "undefined";
- }
-runTestCase(testcase);
+assert(obj.hasOwnProperty("prop"), 'obj.hasOwnProperty("prop") !== true');
+assert.sameValue(typeof obj.prop, "undefined", 'typeof obj.prop');