summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-6-a-65.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-65.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-6-a-65.js30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-65.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-65.js
index 96f9243e6..a784e4fab 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-65.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-65.js
@@ -13,28 +13,28 @@ includes: [propertyHelper.js]
var obj = {};
Object.defineProperty(obj, "foo", {
- value: 10,
- configurable: false
+ value: 10,
+ configurable: false
});
try {
- Object.defineProperties(obj, {
- foo: {
- configurable: true
- }
- });
- $ERROR("Expected an exception.");
+ Object.defineProperties(obj, {
+ foo: {
+ configurable: true
+ }
+ });
+ $ERROR("Expected an exception.");
} catch (e) {
- verifyEqualTo(obj, "foo", 10);
+ verifyEqualTo(obj, "foo", 10);
- verifyNotWritable(obj, "foo");
+ verifyNotWritable(obj, "foo");
- verifyNotEnumerable(obj, "foo");
+ verifyNotEnumerable(obj, "foo");
- verifyNotConfigurable(obj, "foo");
+ verifyNotConfigurable(obj, "foo");
- if (!(e instanceof TypeError)) {
- $ERROR("Expected TypeError, got " + e);
- }
+ if (!(e instanceof TypeError)) {
+ $ERROR("Expected TypeError, got " + e);
+ }
}