summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/values/exception-during-enumeration.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/values/exception-during-enumeration.js')
-rw-r--r--test/built-ins/Object/values/exception-during-enumeration.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/values/exception-during-enumeration.js b/test/built-ins/Object/values/exception-during-enumeration.js
index a11b20e69..0446a33c5 100644
--- a/test/built-ins/Object/values/exception-during-enumeration.js
+++ b/test/built-ins/Object/values/exception-during-enumeration.js
@@ -8,14 +8,14 @@ author: Jordan Harband
---*/
var trappedKey = {
- get a() {
- throw new RangeError('This error should be re-thrown');
- },
- get b() {
- $ERROR('Should not try to get the second element');
- }
+ get a() {
+ throw new RangeError('This error should be re-thrown');
+ },
+ get b() {
+ $ERROR('Should not try to get the second element');
+ }
};
-assert.throws(RangeError, function () {
- Object.values(trappedKey);
+assert.throws(RangeError, function() {
+ Object.values(trappedKey);
});