summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-6-a-234.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-234.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-6-a-234.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-234.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-234.js
index a9e97ed64..b7e595b56 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-234.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-234.js
@@ -18,30 +18,30 @@ includes: [propertyHelper.js]
var arr = [];
Object.defineProperty(arr, "1", {
- value: 3,
- configurable: false,
- writable: false
+ value: 3,
+ configurable: false,
+ writable: false
});
try {
- Object.defineProperties(arr, {
- "1": {
- value: "abc"
- }
- });
- $ERROR("Expected an exception.");
+ Object.defineProperties(arr, {
+ "1": {
+ value: "abc"
+ }
+ });
+ $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);
+ }
}