summaryrefslogtreecommitdiff
path: root/test/built-ins/String/prototype/trimStart/this-value-object-cannot-convert-to-primitive-err.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/String/prototype/trimStart/this-value-object-cannot-convert-to-primitive-err.js')
-rw-r--r--test/built-ins/String/prototype/trimStart/this-value-object-cannot-convert-to-primitive-err.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/built-ins/String/prototype/trimStart/this-value-object-cannot-convert-to-primitive-err.js b/test/built-ins/String/prototype/trimStart/this-value-object-cannot-convert-to-primitive-err.js
index 15de7e415..e74d0569b 100644
--- a/test/built-ins/String/prototype/trimStart/this-value-object-cannot-convert-to-primitive-err.js
+++ b/test/built-ins/String/prototype/trimStart/this-value-object-cannot-convert-to-primitive-err.js
@@ -53,5 +53,7 @@ var thisVal = {
// nor valueOf defined, then a TypeError exception should be thrown.
assert.throws(
TypeError,
- function() { String.prototype.trimStart.call(thisVal); },
+ function() {
+ String.prototype.trimStart.call(thisVal);
+ },
);