diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-235.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-6-a-235.js | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-235.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-235.js index 1d32ba931..6b05968e0 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-235.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-235.js @@ -15,27 +15,27 @@ includes: [propertyHelper.js] var arr = []; Object.defineProperty(arr, "1", { - value: +0 + value: +0 }); try { - Object.defineProperties(arr, { - "1": { - value: -0 - } - }); - $ERROR("Expected an exception."); + Object.defineProperties(arr, { + "1": { + value: -0 + } + }); + $ERROR("Expected an exception."); } catch (e) { - verifyEqualTo(arr, "1", +0); + verifyEqualTo(arr, "1", +0); - 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); + } } |