mirror of
https://github.com/tc39/test262.git
synced 2025-09-23 10:08:49 +02:00
Temporal: Fix missing close quotation mark in error message
This commit is contained in:
parent
84f820258b
commit
0c2144e3e6
@ -24,6 +24,6 @@ badOffsets.forEach((offset) => {
|
|||||||
assert.throws(
|
assert.throws(
|
||||||
typeof(offset) === 'string' ? RangeError : TypeError,
|
typeof(offset) === 'string' ? RangeError : TypeError,
|
||||||
() => instance.total({ unit: "days", relativeTo }),
|
() => instance.total({ unit: "days", relativeTo }),
|
||||||
`"${offset} is not a valid offset string`
|
`"${offset}" is not a valid offset string`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user