summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-141.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-141.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-141.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-141.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-141.js
index 259c7c438..531b40470 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-141.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-141.js
@@ -7,10 +7,8 @@ description: >
Object.defineProperty - 'Attributes' is a String object that uses
Object's [[Get]] method to access the 'value' property (8.10.5
step 5.a)
-includes: [runTestCase.js]
---*/
-function testcase() {
var obj = { };
var strObj = new String("abc");
@@ -19,6 +17,4 @@ function testcase() {
Object.defineProperty(obj, "property", strObj);
- return obj.property === "String";
- }
-runTestCase(testcase);
+assert.sameValue(obj.property, "String", 'obj.property');