summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-6-a-300.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-300.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-6-a-300.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-300.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-300.js
index 1042edc13..d49318a5c 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-300.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-300.js
@@ -16,35 +16,35 @@ includes: [propertyHelper.js]
var arg;
(function fun() {
- arg = arguments;
+ arg = arguments;
}());
function get_func() {
- return 0;
+ return 0;
}
Object.defineProperty(arg, "0", {
- get: get_func,
- enumerable: true,
- configurable: false
+ get: get_func,
+ enumerable: true,
+ configurable: false
});
try {
- Object.defineProperties(arg, {
- "0": {
- enumerable: false
- }
- });
- $ERROR("Expected an exception.");
+ Object.defineProperties(arg, {
+ "0": {
+ enumerable: false
+ }
+ });
+ $ERROR("Expected an exception.");
} catch (e) {
- verifyEqualTo(arg, "0", get_func());
+ verifyEqualTo(arg, "0", get_func());
- verifyEnumerable(arg, "0");
+ verifyEnumerable(arg, "0");
- verifyNotConfigurable(arg, "0");
+ verifyNotConfigurable(arg, "0");
- if (!(e instanceof TypeError)) {
- $ERROR("Expected TypeError, got " + e);
- }
+ if (!(e instanceof TypeError)) {
+ $ERROR("Expected TypeError, got " + e);
+ }
}