From f95b56ab28c5f18150f30fbfa889a4f6ba0e50a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Fri, 9 Feb 2018 09:09:47 -0800 Subject: Revert "js-beautify: make all indentation consistent (depth & character) (#1409)" (#1412) This reverts commit a01de4a722d088055a7d84d8c691ddd7109edb34. --- .../Object/defineProperties/15.2.3.7-6-a-298.js | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-298.js') diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-298.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-298.js index 5247a1c02..82d464a7f 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-298.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-298.js @@ -16,38 +16,38 @@ includes: [propertyHelper.js] var arg; (function fun() { - arg = arguments; + arg = arguments; }()); function get_func1() { - return 0; + return 0; } Object.defineProperty(arg, "0", { - get: get_func1, - enumerable: false, - configurable: false + get: get_func1, + enumerable: false, + configurable: false }); function get_func2() { - return 10; + return 10; } try { - Object.defineProperties(arg, { - "0": { - get: get_func2 - } - }); - $ERROR("Expected an exception."); + Object.defineProperties(arg, { + "0": { + get: get_func2 + } + }); + $ERROR("Expected an exception."); } catch (e) { - verifyEqualTo(arg, "0", get_func1()); + verifyEqualTo(arg, "0", get_func1()); - verifyNotEnumerable(arg, "0"); + verifyNotEnumerable(arg, "0"); - verifyNotConfigurable(arg, "0"); + verifyNotConfigurable(arg, "0"); - if (!(e instanceof TypeError)) { - $ERROR("Expected TypeError, got " + e); - } + if (!(e instanceof TypeError)) { + $ERROR("Expected TypeError, got " + e); + } } -- cgit v1.2.1