From d4f49b84aba638e7d4683e63eab75e87623c2bc5 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Fri, 18 Aug 2023 12:00:25 -0700 Subject: [PATCH] Temporal: Update outdated test descriptions --- .../Temporal/Duration/prototype/add/relativeto-number.js | 2 +- .../prototype/add/relativeto-propertybag-calendar-number.js | 2 +- .../Temporal/Duration/prototype/round/relativeto-number.js | 2 +- .../Temporal/Duration/prototype/subtract/relativeto-number.js | 2 +- .../Temporal/Duration/prototype/total/relativeto-number.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/built-ins/Temporal/Duration/prototype/add/relativeto-number.js b/test/built-ins/Temporal/Duration/prototype/add/relativeto-number.js index 969f3efbf2..7a40001dfc 100644 --- a/test/built-ins/Temporal/Duration/prototype/add/relativeto-number.js +++ b/test/built-ins/Temporal/Duration/prototype/add/relativeto-number.js @@ -3,7 +3,7 @@ /*--- esid: sec-temporal.duration.prototype.add -description: A number as relativeTo option is converted to a string, then to Temporal.PlainDate +description: A number cannot be used in place of a relativeTo features: [Temporal] ---*/ diff --git a/test/built-ins/Temporal/Duration/prototype/add/relativeto-propertybag-calendar-number.js b/test/built-ins/Temporal/Duration/prototype/add/relativeto-propertybag-calendar-number.js index 1c8e6d3d9a..6be3b1dc62 100644 --- a/test/built-ins/Temporal/Duration/prototype/add/relativeto-propertybag-calendar-number.js +++ b/test/built-ins/Temporal/Duration/prototype/add/relativeto-propertybag-calendar-number.js @@ -3,7 +3,7 @@ /*--- esid: sec-temporal.duration.prototype.add -description: A number as calendar in relativeTo property bag is converted to a string, then to a calendar +description: A number as calendar in relativeTo property bag is invalid features: [Temporal] ---*/ diff --git a/test/built-ins/Temporal/Duration/prototype/round/relativeto-number.js b/test/built-ins/Temporal/Duration/prototype/round/relativeto-number.js index 379f363b8b..380aba82ae 100644 --- a/test/built-ins/Temporal/Duration/prototype/round/relativeto-number.js +++ b/test/built-ins/Temporal/Duration/prototype/round/relativeto-number.js @@ -3,7 +3,7 @@ /*--- esid: sec-temporal.duration.prototype.round -description: A number as relativeTo option is converted to a string, then to Temporal.PlainDate +description: A number cannot be used in place of a relativeTo features: [Temporal] ---*/ diff --git a/test/built-ins/Temporal/Duration/prototype/subtract/relativeto-number.js b/test/built-ins/Temporal/Duration/prototype/subtract/relativeto-number.js index 9d0c962121..0f8704afb2 100644 --- a/test/built-ins/Temporal/Duration/prototype/subtract/relativeto-number.js +++ b/test/built-ins/Temporal/Duration/prototype/subtract/relativeto-number.js @@ -3,7 +3,7 @@ /*--- esid: sec-temporal.duration.prototype.subtract -description: A number as relativeTo option is converted to a string, then to Temporal.PlainDate +description: A number cannot be used in place of a relativeTo features: [Temporal] ---*/ diff --git a/test/built-ins/Temporal/Duration/prototype/total/relativeto-number.js b/test/built-ins/Temporal/Duration/prototype/total/relativeto-number.js index 8ef4f72b1d..67d66ea2d5 100644 --- a/test/built-ins/Temporal/Duration/prototype/total/relativeto-number.js +++ b/test/built-ins/Temporal/Duration/prototype/total/relativeto-number.js @@ -3,7 +3,7 @@ /*--- esid: sec-temporal.duration.prototype.total -description: A number as relativeTo option is converted to a string, then to Temporal.PlainDate +description: A number cannot be used in place of a relativeTo features: [Temporal] ---*/