From fdf8e8bd3f795474350891664f9a49353cfe7f02 Mon Sep 17 00:00:00 2001 From: Valerie R Young <spectranaut@riseup.net> Date: Fri, 29 Sep 2017 13:47:08 -0400 Subject: [PATCH] Fixup: Add object coercible tests for trim(start/End) --- .../String/prototype/trimEnd/this-value-not-obj-coercible.js | 3 ++- .../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 2800be2736..8f33e2de83 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 c7afae1e11..f97805039e 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; -- GitLab