From c82e2782e68c7427864e3d1da0e677b8001e018a Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Mon, 18 Apr 2022 10:29:14 -0700 Subject: [PATCH] Regularize some quotes Some of the similar tests to these use double quotes, some use single. --- ...ment-string-time-designator-required-for-disambiguation.js | 2 +- .../Temporal/PlainDate/prototype/toPlainDateTime/year-zero.js | 4 ++-- ...ment-string-time-designator-required-for-disambiguation.js | 2 +- .../Temporal/PlainDate/prototype/toZonedDateTime/year-zero.js | 4 ++-- ...ment-string-time-designator-required-for-disambiguation.js | 2 +- test/built-ins/Temporal/PlainTime/from/year-zero.js | 4 ++-- ...ment-string-time-designator-required-for-disambiguation.js | 2 +- .../Temporal/PlainTime/prototype/equals/year-zero.js | 4 ++-- ...ment-string-time-designator-required-for-disambiguation.js | 2 +- .../built-ins/Temporal/PlainTime/prototype/since/year-zero.js | 4 ++-- ...ment-string-time-designator-required-for-disambiguation.js | 2 +- .../built-ins/Temporal/PlainTime/prototype/until/year-zero.js | 4 ++-- ...ment-string-time-designator-required-for-disambiguation.js | 2 +- .../ZonedDateTime/prototype/withPlainTime/year-zero.js | 4 ++-- 14 files changed, 21 insertions(+), 21 deletions(-) diff --git a/test/built-ins/Temporal/PlainDate/prototype/toPlainDateTime/argument-string-time-designator-required-for-disambiguation.js b/test/built-ins/Temporal/PlainDate/prototype/toPlainDateTime/argument-string-time-designator-required-for-disambiguation.js index b5ca1d07c5..797192c779 100644 --- a/test/built-ins/Temporal/PlainDate/prototype/toPlainDateTime/argument-string-time-designator-required-for-disambiguation.js +++ b/test/built-ins/Temporal/PlainDate/prototype/toPlainDateTime/argument-string-time-designator-required-for-disambiguation.js @@ -32,7 +32,7 @@ ambiguousStrings.forEach((string) => { assert.throws( RangeError, () => instance.toPlainDateTime(arg), - 'space is not accepted as a substitute for T prefix' + "space is not accepted as a substitute for T prefix" ); }); diff --git a/test/built-ins/Temporal/PlainDate/prototype/toPlainDateTime/year-zero.js b/test/built-ins/Temporal/PlainDate/prototype/toPlainDateTime/year-zero.js index 0e1d283474..d02df20145 100644 --- a/test/built-ins/Temporal/PlainDate/prototype/toPlainDateTime/year-zero.js +++ b/test/built-ins/Temporal/PlainDate/prototype/toPlainDateTime/year-zero.js @@ -8,8 +8,8 @@ features: [Temporal, arrow-function] ---*/ const invalidStrings = [ - '-000000-12-07T03:24:30', - '-000000-12-07T03:24:30+01:00[UTC]' + "-000000-12-07T03:24:30", + "-000000-12-07T03:24:30+01:00[UTC]" ]; const instance = new Temporal.PlainDate(2000, 5, 2); invalidStrings.forEach((arg) => { diff --git a/test/built-ins/Temporal/PlainDate/prototype/toZonedDateTime/argument-string-time-designator-required-for-disambiguation.js b/test/built-ins/Temporal/PlainDate/prototype/toZonedDateTime/argument-string-time-designator-required-for-disambiguation.js index 6e2e7dd512..62877675b8 100644 --- a/test/built-ins/Temporal/PlainDate/prototype/toZonedDateTime/argument-string-time-designator-required-for-disambiguation.js +++ b/test/built-ins/Temporal/PlainDate/prototype/toZonedDateTime/argument-string-time-designator-required-for-disambiguation.js @@ -32,7 +32,7 @@ ambiguousStrings.forEach((string) => { assert.throws( RangeError, () => instance.toZonedDateTime({ plainTime: arg, timeZone: "UTC" }), - 'space is not accepted as a substitute for T prefix' + "space is not accepted as a substitute for T prefix" ); }); diff --git a/test/built-ins/Temporal/PlainDate/prototype/toZonedDateTime/year-zero.js b/test/built-ins/Temporal/PlainDate/prototype/toZonedDateTime/year-zero.js index 33387244aa..018ffdb90d 100644 --- a/test/built-ins/Temporal/PlainDate/prototype/toZonedDateTime/year-zero.js +++ b/test/built-ins/Temporal/PlainDate/prototype/toZonedDateTime/year-zero.js @@ -8,8 +8,8 @@ features: [Temporal, arrow-function] ---*/ const invalidStrings = [ - '-000000-12-07T03:24:30', - '-000000-12-07T03:24:30+01:00[UTC]' + "-000000-12-07T03:24:30", + "-000000-12-07T03:24:30+01:00[UTC]" ]; const instance = new Temporal.PlainDate(2000, 5, 2); invalidStrings.forEach((arg) => { diff --git a/test/built-ins/Temporal/PlainTime/from/argument-string-time-designator-required-for-disambiguation.js b/test/built-ins/Temporal/PlainTime/from/argument-string-time-designator-required-for-disambiguation.js index 9ce8a56629..20dcb43eb4 100644 --- a/test/built-ins/Temporal/PlainTime/from/argument-string-time-designator-required-for-disambiguation.js +++ b/test/built-ins/Temporal/PlainTime/from/argument-string-time-designator-required-for-disambiguation.js @@ -30,7 +30,7 @@ ambiguousStrings.forEach((string) => { assert.throws( RangeError, () => Temporal.PlainTime.from(arg), - 'space is not accepted as a substitute for T prefix' + "space is not accepted as a substitute for T prefix" ); }); diff --git a/test/built-ins/Temporal/PlainTime/from/year-zero.js b/test/built-ins/Temporal/PlainTime/from/year-zero.js index 671e5c5c68..1803d2df10 100644 --- a/test/built-ins/Temporal/PlainTime/from/year-zero.js +++ b/test/built-ins/Temporal/PlainTime/from/year-zero.js @@ -8,8 +8,8 @@ features: [Temporal, arrow-function] ---*/ const invalidStrings = [ - '-000000-12-07T03:24:30', - '-000000-12-07T03:24:30+01:00[UTC]' + "-000000-12-07T03:24:30", + "-000000-12-07T03:24:30+01:00[UTC]" ]; invalidStrings.forEach((arg) => { assert.throws( diff --git a/test/built-ins/Temporal/PlainTime/prototype/equals/argument-string-time-designator-required-for-disambiguation.js b/test/built-ins/Temporal/PlainTime/prototype/equals/argument-string-time-designator-required-for-disambiguation.js index 619c5f3b39..b5efb776c3 100644 --- a/test/built-ins/Temporal/PlainTime/prototype/equals/argument-string-time-designator-required-for-disambiguation.js +++ b/test/built-ins/Temporal/PlainTime/prototype/equals/argument-string-time-designator-required-for-disambiguation.js @@ -32,7 +32,7 @@ ambiguousStrings.forEach((string) => { assert.throws( RangeError, () => instance.equals(arg), - 'space is not accepted as a substitute for T prefix' + "space is not accepted as a substitute for T prefix" ); }); diff --git a/test/built-ins/Temporal/PlainTime/prototype/equals/year-zero.js b/test/built-ins/Temporal/PlainTime/prototype/equals/year-zero.js index c58365d4b0..c531c931ad 100644 --- a/test/built-ins/Temporal/PlainTime/prototype/equals/year-zero.js +++ b/test/built-ins/Temporal/PlainTime/prototype/equals/year-zero.js @@ -8,8 +8,8 @@ features: [Temporal, arrow-function] ---*/ const invalidStrings = [ - '-000000-12-07T03:24:30', - '-000000-12-07T03:24:30+01:00[UTC]' + "-000000-12-07T03:24:30", + "-000000-12-07T03:24:30+01:00[UTC]" ]; const instance = new Temporal.PlainTime(12, 34, 56, 987, 654, 321); invalidStrings.forEach((arg) => { diff --git a/test/built-ins/Temporal/PlainTime/prototype/since/argument-string-time-designator-required-for-disambiguation.js b/test/built-ins/Temporal/PlainTime/prototype/since/argument-string-time-designator-required-for-disambiguation.js index ec4db561cf..2e9c362004 100644 --- a/test/built-ins/Temporal/PlainTime/prototype/since/argument-string-time-designator-required-for-disambiguation.js +++ b/test/built-ins/Temporal/PlainTime/prototype/since/argument-string-time-designator-required-for-disambiguation.js @@ -32,7 +32,7 @@ ambiguousStrings.forEach((string) => { assert.throws( RangeError, () => instance.since(arg), - 'space is not accepted as a substitute for T prefix' + "space is not accepted as a substitute for T prefix" ); }); diff --git a/test/built-ins/Temporal/PlainTime/prototype/since/year-zero.js b/test/built-ins/Temporal/PlainTime/prototype/since/year-zero.js index 1124fe8a77..d28b618175 100644 --- a/test/built-ins/Temporal/PlainTime/prototype/since/year-zero.js +++ b/test/built-ins/Temporal/PlainTime/prototype/since/year-zero.js @@ -8,8 +8,8 @@ features: [Temporal, arrow-function] ---*/ const invalidStrings = [ - '-000000-12-07T03:24:30', - '-000000-12-07T03:24:30+01:00[UTC]' + "-000000-12-07T03:24:30", + "-000000-12-07T03:24:30+01:00[UTC]" ]; const instance = new Temporal.PlainTime(12, 34, 56, 987, 654, 321); invalidStrings.forEach((arg) => { diff --git a/test/built-ins/Temporal/PlainTime/prototype/until/argument-string-time-designator-required-for-disambiguation.js b/test/built-ins/Temporal/PlainTime/prototype/until/argument-string-time-designator-required-for-disambiguation.js index 82369fcd43..3f11bf7f3b 100644 --- a/test/built-ins/Temporal/PlainTime/prototype/until/argument-string-time-designator-required-for-disambiguation.js +++ b/test/built-ins/Temporal/PlainTime/prototype/until/argument-string-time-designator-required-for-disambiguation.js @@ -32,7 +32,7 @@ ambiguousStrings.forEach((string) => { assert.throws( RangeError, () => instance.until(arg), - 'space is not accepted as a substitute for T prefix' + "space is not accepted as a substitute for T prefix" ); }); diff --git a/test/built-ins/Temporal/PlainTime/prototype/until/year-zero.js b/test/built-ins/Temporal/PlainTime/prototype/until/year-zero.js index 759782e9bb..3effb46fc4 100644 --- a/test/built-ins/Temporal/PlainTime/prototype/until/year-zero.js +++ b/test/built-ins/Temporal/PlainTime/prototype/until/year-zero.js @@ -8,8 +8,8 @@ features: [Temporal, arrow-function] ---*/ const invalidStrings = [ - '-000000-12-07T03:24:30', - '-000000-12-07T03:24:30+01:00[UTC]' + "-000000-12-07T03:24:30", + "-000000-12-07T03:24:30+01:00[UTC]" ]; const instance = new Temporal.PlainTime(12, 34, 56, 987, 654, 321); invalidStrings.forEach((arg) => { diff --git a/test/built-ins/Temporal/ZonedDateTime/prototype/withPlainTime/argument-string-time-designator-required-for-disambiguation.js b/test/built-ins/Temporal/ZonedDateTime/prototype/withPlainTime/argument-string-time-designator-required-for-disambiguation.js index fd33665eed..a2b10a2b5d 100644 --- a/test/built-ins/Temporal/ZonedDateTime/prototype/withPlainTime/argument-string-time-designator-required-for-disambiguation.js +++ b/test/built-ins/Temporal/ZonedDateTime/prototype/withPlainTime/argument-string-time-designator-required-for-disambiguation.js @@ -32,7 +32,7 @@ ambiguousStrings.forEach((string) => { assert.throws( RangeError, () => instance.withPlainTime(arg), - 'space is not accepted as a substitute for T prefix' + "space is not accepted as a substitute for T prefix" ); }); diff --git a/test/built-ins/Temporal/ZonedDateTime/prototype/withPlainTime/year-zero.js b/test/built-ins/Temporal/ZonedDateTime/prototype/withPlainTime/year-zero.js index 13f6ae2518..5d2948efd4 100644 --- a/test/built-ins/Temporal/ZonedDateTime/prototype/withPlainTime/year-zero.js +++ b/test/built-ins/Temporal/ZonedDateTime/prototype/withPlainTime/year-zero.js @@ -8,8 +8,8 @@ features: [Temporal, arrow-function] ---*/ const invalidStrings = [ - '-000000-12-07T03:24:30', - '-000000-12-07T03:24:30+01:00[UTC]' + "-000000-12-07T03:24:30", + "-000000-12-07T03:24:30+01:00[UTC]" ]; const instance = new Temporal.ZonedDateTime(1_000_000_000_000_000_000n, "UTC"); invalidStrings.forEach((arg) => {