summaryrefslogtreecommitdiff
path: root/test/built-ins/BigInt/value-of-throws.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/BigInt/value-of-throws.js')
-rw-r--r--test/built-ins/BigInt/value-of-throws.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/built-ins/BigInt/value-of-throws.js b/test/built-ins/BigInt/value-of-throws.js
index 671a9b94c..690b0fa94 100644
--- a/test/built-ins/BigInt/value-of-throws.js
+++ b/test/built-ins/BigInt/value-of-throws.js
@@ -14,16 +14,13 @@ features: [BigInt]
assert.throws(Test262Error, function() {
BigInt({
- valueOf: function() {
- throw new Test262Error();
- }
+ valueOf: function() { throw new Test262Error(); }
});
});
assert.throws(Test262Error, function() {
BigInt({
- toString: function() {
- throw new Test262Error();
- }
+ toString: function() { throw new Test262Error(); }
});
});
+