mirror of https://github.com/tc39/test262.git
sync with duration-format PR130 (#3752)
https://github.com/tc39/proposal-intl-duration-format/pull/130
This commit is contained in:
parent
e6c6460a5b
commit
dac6956348
|
@ -25,4 +25,4 @@ assert.throws(TypeError, () => { df.format({}) }, "plain object");
|
|||
assert.throws(TypeError, () => { df.format({ year: 1 }) }, "unsuported property");
|
||||
assert.throws(TypeError, () => { df.format({ years: undefined }) }, "supported property set undefined");
|
||||
assert.throws(TypeError, () => { df.format(Symbol())}, "symbol");
|
||||
assert.throws(TypeError, () => { df.format("bad string")}, "bad string");
|
||||
assert.throws(RangeError, () => { df.format("bad string")}, "bad string");
|
||||
|
|
|
@ -25,4 +25,4 @@ assert.throws(TypeError, () => { df.formatToParts({}) }, "plain object");
|
|||
assert.throws(TypeError, () => { df.formatToParts({ year: 1 }) }, "unsuported property");
|
||||
assert.throws(TypeError, () => { df.formatToParts({ years: undefined }) }, "supported property set undefined");
|
||||
assert.throws(TypeError, () => { df.formatToParts(Symbol())}, "symbol");
|
||||
assert.throws(TypeError, () => { df.formatToParts("bad string")}, "bad string");
|
||||
assert.throws(RangeError, () => { df.formatToParts("bad string")}, "bad string");
|
||||
|
|
Loading…
Reference in New Issue