summaryrefslogtreecommitdiff
path: root/test/built-ins/Date/UTC/coercion-errors.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Date/UTC/coercion-errors.js')
-rw-r--r--test/built-ins/Date/UTC/coercion-errors.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/built-ins/Date/UTC/coercion-errors.js b/test/built-ins/Date/UTC/coercion-errors.js
index bbca1753e..ccdefb1d1 100644
--- a/test/built-ins/Date/UTC/coercion-errors.js
+++ b/test/built-ins/Date/UTC/coercion-errors.js
@@ -17,8 +17,16 @@ info: |
9. Return TimeClip(MakeDate(MakeDay(yr, m, dt), MakeTime(h, min, s, milli))).
---*/
-var thrower = { toString: function() { throw new Test262Error(); } };
-var counter = { toString: function() { callCount += 1; } };
+var thrower = {
+ toString: function() {
+ throw new Test262Error();
+ }
+};
+var counter = {
+ toString: function() {
+ callCount += 1;
+ }
+};
var callCount = 0;
assert.throws(Test262Error, function() {