summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-5-b-188.js
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2015-08-11 17:53:17 +0200
committerAndré Bargull <andre.bargull@gmail.com>2015-08-11 17:53:17 +0200
commit44bc67797e18007cddc14ad2f41196abfe214129 (patch)
treec1a95e3d18cbad5f15ee9ea4d809e5bd25278583 /test/built-ins/Object/defineProperties/15.2.3.7-5-b-188.js
parent0a37298b4686b9f3a81a16036c9af1c1a18611bd (diff)
downloadqtdeclarative-testsuites-44bc67797e18007cddc14ad2f41196abfe214129.tar.gz
Replace runTestCase with assert helpers [test/built-ins/Object/defineProperties]
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-188.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-5-b-188.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-188.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-188.js
index fd0f5db0d..d58c5a2c5 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-188.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-188.js
@@ -6,12 +6,9 @@ es5id: 15.2.3.7-5-b-188
description: >
Object.defineProperties - value of 'writable' property of
'descObj' is the global object (8.10.5 step 6.b)
-includes:
- - runTestCase.js
- - fnGlobalObject.js
+includes: [fnGlobalObject.js]
---*/
-function testcase() {
var obj = {};
Object.defineProperties(obj, {
@@ -22,6 +19,4 @@ function testcase() {
obj.property = "isWritable";
- return obj.property === "isWritable";
- }
-runTestCase(testcase);
+assert.sameValue(obj.property, "isWritable", 'obj.property');