summaryrefslogtreecommitdiff
path: root/test/built-ins/String
diff options
context:
space:
mode:
authorValerie R Young <spectranaut@riseup.net>2017-09-29 13:47:08 -0400
committerRick Waldron <waldron.rick@gmail.com>2018-01-25 14:10:14 -0500
commitfdf8e8bd3f795474350891664f9a49353cfe7f02 (patch)
tree914b8b19ae34e26a5e81f906f8d5022d9dbe8ced /test/built-ins/String
parent2905e6a293af41eddfeb9d91f219d6d19e04e7e6 (diff)
downloadqtdeclarative-testsuites-fdf8e8bd3f795474350891664f9a49353cfe7f02.tar.gz
Fixup: Add object coercible tests for trim(start/End)
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;