From a61b9cd671f3378c4078c0a58dd8b8be073f8cef Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Thu, 15 Feb 2018 15:33:45 -0500 Subject: built-ins/Object/*: make all indentation consistent (depth & character) (#1432) --- test/built-ins/Object/create/15.2.3.5-4-271.js | 56 +++++++++++++------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'test/built-ins/Object/create/15.2.3.5-4-271.js') diff --git a/test/built-ins/Object/create/15.2.3.5-4-271.js b/test/built-ins/Object/create/15.2.3.5-4-271.js index 81e2538bb..53a136202 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-271.js +++ b/test/built-ins/Object/create/15.2.3.5-4-271.js @@ -9,34 +9,34 @@ description: > (8.10.5 step 8.a) ---*/ - var data1 = "data"; - var data2 = "data"; - - var proto = {}; - Object.defineProperty(proto, "set", { - get: function () { - return function (value) { - data2 = value; - }; - } - }); - - var ConstructFun = function () { }; - ConstructFun.prototype = proto; - var child = new ConstructFun(); - Object.defineProperty(child, "set", { - value: function (value) { - data1 = value; - } - }); - - var newObj = Object.create({}, { - prop: child - }); - - var hasProperty = newObj.hasOwnProperty("prop"); - - newObj.prop = "overrideData"; +var data1 = "data"; +var data2 = "data"; + +var proto = {}; +Object.defineProperty(proto, "set", { + get: function() { + return function(value) { + data2 = value; + }; + } +}); + +var ConstructFun = function() {}; +ConstructFun.prototype = proto; +var child = new ConstructFun(); +Object.defineProperty(child, "set", { + value: function(value) { + data1 = value; + } +}); + +var newObj = Object.create({}, { + prop: child +}); + +var hasProperty = newObj.hasOwnProperty("prop"); + +newObj.prop = "overrideData"; assert(hasProperty, 'hasProperty !== true'); assert.sameValue(data1, "overrideData", 'data1'); -- cgit v1.2.1