summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-6-a-271.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-271.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-6-a-271.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-271.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-271.js
index a305f8b0e..00e6605b9 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-271.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-271.js
@@ -15,27 +15,27 @@ includes: [propertyHelper.js]
var arr = [];
Object.defineProperty(arr, "property", {
- writable: false
+ writable: false
});
try {
- Object.defineProperties(arr, {
- "property": {
- writable: true
- }
- });
- $ERROR("Expected an exception.");
+ Object.defineProperties(arr, {
+ "property": {
+ writable: true
+ }
+ });
+ $ERROR("Expected an exception.");
} catch (e) {
- verifyEqualTo(arr, "property", undefined);
+ verifyEqualTo(arr, "property", undefined);
- 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);
+ }
}