mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
Fix test for required properties
This commit is contained in:
parent
7fb465496f
commit
70ef1acd1c
@ -16,18 +16,18 @@ assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
|
|||||||
}));
|
}));
|
||||||
assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
|
assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
|
||||||
years: 1976,
|
years: 1976,
|
||||||
months: 11,
|
month: 11,
|
||||||
day: 18,
|
day: 18,
|
||||||
timeZone: "+01:00"
|
timeZone: "+01:00"
|
||||||
}));
|
}));
|
||||||
assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
|
assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
|
||||||
year: 1976,
|
year: 1976,
|
||||||
months: 11,
|
months: 11,
|
||||||
days: 18,
|
day: 18,
|
||||||
timeZone: "+01:00"
|
timeZone: "+01:00"
|
||||||
}));
|
}));
|
||||||
assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
|
assert.throws(TypeError, () => Temporal.ZonedDateTime.from({
|
||||||
years: 1976,
|
year: 1976,
|
||||||
month: 11,
|
month: 11,
|
||||||
days: 18,
|
days: 18,
|
||||||
timeZone: "+01:00"
|
timeZone: "+01:00"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user