diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-228.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-6-a-228.js | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-228.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-228.js index a250ae9d8..7eaededb8 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-228.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-228.js @@ -16,31 +16,31 @@ includes: [propertyHelper.js] var arr = []; Object.defineProperty(arr, "1", { - value: 3, - configurable: false, - enumerable: false + value: 3, + configurable: false, + enumerable: false }); try { - Object.defineProperties(arr, { - "1": { - value: 13, - enumerable: true - } - }); - $ERROR("Expected an exception."); + Object.defineProperties(arr, { + "1": { + value: 13, + enumerable: true + } + }); + $ERROR("Expected an exception."); } catch (e) { - verifyEqualTo(arr, "1", 3); + verifyEqualTo(arr, "1", 3); - verifyNotWritable(arr, "1"); + verifyNotWritable(arr, "1"); - verifyNotEnumerable(arr, "1"); + verifyNotEnumerable(arr, "1"); - verifyNotConfigurable(arr, "1"); + verifyNotConfigurable(arr, "1"); - if (!(e instanceof TypeError)) { - $ERROR("Expected TypeError, got " + e); - } + if (!(e instanceof TypeError)) { + $ERROR("Expected TypeError, got " + e); + } } |