summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-2-44.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-2-44.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-2-44.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-2-44.js b/test/built-ins/Object/defineProperty/15.2.3.6-2-44.js
index 7d794be11..ce1c4987e 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-2-44.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-2-44.js
@@ -6,10 +6,8 @@ es5id: 15.2.3.6-2-44
description: >
Object.defineProperty - argument 'P' is an object that has an own
valueOf method
-includes: [runTestCase.js]
---*/
-function testcase() {
var obj = {};
var ownProp = {
@@ -21,7 +19,4 @@ function testcase() {
Object.defineProperty(obj, ownProp, {});
- return obj.hasOwnProperty("abc");
-
- }
-runTestCase(testcase);
+assert(obj.hasOwnProperty("abc"), 'obj.hasOwnProperty("abc") !== true');