summaryrefslogtreecommitdiff
path: root/test/built-ins/String
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/String')
-rw-r--r--test/built-ins/String/prototype/trimEnd/this-value-not-obj-coercible.js3
-rw-r--r--test/built-ins/String/prototype/trimStart/this-value-not-obj-coercible.js3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/built-ins/String/prototype/trimEnd/this-value-not-obj-coercible.js b/test/built-ins/String/prototype/trimEnd/this-value-not-obj-coercible.js
index 2800be273..8f33e2de8 100644
--- a/test/built-ins/String/prototype/trimEnd/this-value-not-obj-coercible.js
+++ b/test/built-ins/String/prototype/trimEnd/this-value-not-obj-coercible.js
@@ -2,10 +2,11 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
-esid: pending
+esid: sec-string.prototype.trimEnd
description: The "this" value must be object-coercible
info: |
1. Let O be ? RequireObjectCoercible(this value).
+features: [string-trimming]
---*/
var trimEnd = String.prototype.trimEnd;
diff --git a/test/built-ins/String/prototype/trimStart/this-value-not-obj-coercible.js b/test/built-ins/String/prototype/trimStart/this-value-not-obj-coercible.js
index c7afae1e1..f97805039 100644
--- a/test/built-ins/String/prototype/trimStart/this-value-not-obj-coercible.js
+++ b/test/built-ins/String/prototype/trimStart/this-value-not-obj-coercible.js
@@ -2,10 +2,11 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
-esid: pending
+esid: sec-string.prototype.trimStart
description: The "this" value must be object-coercible
info: |
1. Let O be ? RequireObjectCoercible(this value).
+features: [string-trimming]
---*/
var trimStart = String.prototype.trimStart;