summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-5-b-28.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-28.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-5-b-28.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-28.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-28.js
index 0912b9e1e..ab347d29b 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-28.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-28.js
@@ -7,11 +7,8 @@ description: >
Object.defineProperties - 'descObj' is an Error object which
implements its own [[Get]] method to get 'enumerable' property
(8.10.5 step 3.a)
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
var descObj = new Error();
var accessed = false;
@@ -26,6 +23,5 @@ function testcase() {
accessed = true;
}
}
- return accessed;
- }
-runTestCase(testcase);
+
+assert(accessed, 'accessed !== true');