diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-245.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-245.js | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-245.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-245.js index 9684f81e7..ad2a61ac9 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-245.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-245.js @@ -18,27 +18,27 @@ includes: [propertyHelper.js] var arrObj = []; Object.defineProperty(arrObj, "1", { - value: 3, - writable: false, - configurable: false + value: 3, + writable: false, + configurable: false }); try { - Object.defineProperty(arrObj, "1", { - value: "abc" - }); - $ERROR("Expected an exception."); + Object.defineProperty(arrObj, "1", { + value: "abc" + }); + $ERROR("Expected an exception."); } catch (e) { - verifyEqualTo(arrObj, "1", 3); + verifyEqualTo(arrObj, "1", 3); - verifyNotWritable(arrObj, "1"); + verifyNotWritable(arrObj, "1"); - verifyNotEnumerable(arrObj, "1"); + verifyNotEnumerable(arrObj, "1"); - verifyNotConfigurable(arrObj, "1"); + verifyNotConfigurable(arrObj, "1"); - if (!(e instanceof TypeError)) { - $ERROR("Expected TypeError, got " + e); - } + if (!(e instanceof TypeError)) { + $ERROR("Expected TypeError, got " + e); + } } |