summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-2-6.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-2-6.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-2-6.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-2-6.js b/test/built-ins/Object/defineProperty/15.2.3.6-2-6.js
index f693f300c..2915e96e4 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-2-6.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-2-6.js
@@ -6,14 +6,9 @@ es5id: 15.2.3.6-2-6
description: >
Object.defineProperty - argument 'P' is a number that converts to
a string (value is 0)
-includes: [runTestCase.js]
---*/
-function testcase() {
var obj = {};
Object.defineProperty(obj, 0, {});
- return obj.hasOwnProperty("0");
-
- }
-runTestCase(testcase);
+assert(obj.hasOwnProperty("0"), 'obj.hasOwnProperty("0") !== true');