diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-272.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-6-a-272.js | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-272.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-272.js index b6a732615..deacff500 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-272.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-272.js @@ -15,28 +15,28 @@ includes: [propertyHelper.js] var arr = []; Object.defineProperty(arr, "property", { - value: 12, - enumerable: false + value: 12, + enumerable: false }); try { - Object.defineProperties(arr, { - "property": { - enumerable: true - } - }); - $ERROR("Expected an exception."); + Object.defineProperties(arr, { + "property": { + enumerable: true + } + }); + $ERROR("Expected an exception."); } catch (e) { - verifyEqualTo(arr, "property", 12); + verifyEqualTo(arr, "property", 12); - verifyNotWritable(arr, "property"); + verifyNotWritable(arr, "property"); - verifyNotEnumerable(arr, "property"); + verifyNotEnumerable(arr, "property"); - verifyNotConfigurable(arr, "property"); + verifyNotConfigurable(arr, "property"); - if (!(e instanceof TypeError)) { - $ERROR("Expected TypeError, got " + e); - } + if (!(e instanceof TypeError)) { + $ERROR("Expected TypeError, got " + e); + } } |