summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-531-15.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2018-02-15 15:33:45 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-15 15:33:45 -0500
commita61b9cd671f3378c4078c0a58dd8b8be073f8cef (patch)
tree1d0e29b2fc9477ac9956c904ea051e29c3b13f2d /test/built-ins/Object/defineProperty/15.2.3.6-4-531-15.js
parentdedd68020b222fe79fb4fe9f84465e842e4ca61f (diff)
downloadqtdeclarative-testsuites-a61b9cd671f3378c4078c0a58dd8b8be073f8cef.tar.gz
built-ins/Object/*: make all indentation consistent (depth & character) (#1432)
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-531-15.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-531-15.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-531-15.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-531-15.js
index eec71d694..7d290be2d 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-531-15.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-531-15.js
@@ -9,26 +9,26 @@ description: >
step 5.b)
---*/
- var obj = [];
+var obj = [];
- var verifySetFunc = "data";
- var setFunc = function (value) {
- verifySetFunc = value;
- };
- var getFunc = function () {
- return verifySetFunc;
- };
+var verifySetFunc = "data";
+var setFunc = function(value) {
+ verifySetFunc = value;
+};
+var getFunc = function() {
+ return verifySetFunc;
+};
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
+Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+});
- obj.prop = "overrideData";
- var propertyDefineCorrect = obj.hasOwnProperty("prop");
- var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+obj.prop = "overrideData";
+var propertyDefineCorrect = obj.hasOwnProperty("prop");
+var desc = Object.getOwnPropertyDescriptor(obj, "prop");
assert(propertyDefineCorrect, 'propertyDefineCorrect !== true');
assert.sameValue(desc.set, setFunc, 'desc.set');