Regularize some quotes

Some of the similar tests to these use double quotes, some use single.
This commit is contained in:
Philip Chimento 2022-04-18 10:29:14 -07:00 committed by Philip Chimento
parent 089c74ce59
commit c82e2782e6
14 changed files with 21 additions and 21 deletions

View File

@ -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"
);
});

View File

@ -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) => {

View File

@ -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"
);
});

View File

@ -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) => {

View File

@ -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"
);
});

View File

@ -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(

View File

@ -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"
);
});

View File

@ -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) => {

View File

@ -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"
);
});

View File

@ -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) => {

View File

@ -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"
);
});

View File

@ -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) => {

View File

@ -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"
);
});

View File

@ -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) => {