diff options
author | Valerie R Young <spectranaut@riseup.net> | 2017-09-29 13:47:08 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2018-01-25 14:10:14 -0500 |
commit | fdf8e8bd3f795474350891664f9a49353cfe7f02 (patch) | |
tree | 914b8b19ae34e26a5e81f906f8d5022d9dbe8ced /test/built-ins/String | |
parent | 2905e6a293af41eddfeb9d91f219d6d19e04e7e6 (diff) | |
download | qtdeclarative-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.js | 3 | ||||
-rw-r--r-- | test/built-ins/String/prototype/trimStart/this-value-not-obj-coercible.js | 3 |
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; |