diff options
Diffstat (limited to 'test/built-ins/RegExp/prototype/Symbol.split/str-coerce-lastindex-err.js')
-rw-r--r-- | test/built-ins/RegExp/prototype/Symbol.split/str-coerce-lastindex-err.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/built-ins/RegExp/prototype/Symbol.split/str-coerce-lastindex-err.js b/test/built-ins/RegExp/prototype/Symbol.split/str-coerce-lastindex-err.js index 5e89b6c19..0292e0846 100644 --- a/test/built-ins/RegExp/prototype/Symbol.split/str-coerce-lastindex-err.js +++ b/test/built-ins/RegExp/prototype/Symbol.split/str-coerce-lastindex-err.js @@ -42,9 +42,7 @@ assert.throws(TypeError, function() { }); badLastIndex = { - valueOf: function() { - throw new Test262Error(); - } + valueOf: function() { throw new Test262Error(); } }; assert.throws(Test262Error, function() { RegExp.prototype[Symbol.split].call(obj, 'abcd'); |