mirror of https://github.com/tc39/test262.git
Update Intl.NumberFormat.prototype.formatToParts.length to expect 1 (#1249)
As per https://github.com/tc39/ecma402/pull/160 the formatToParts.length is set to 1.
This commit is contained in:
parent
aca48e4dfd
commit
2889100f21
|
@ -6,7 +6,7 @@ description: Intl.NumberFormat.prototype.formatToParts.length.
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Intl.NumberFormat.prototype.formatToParts.length, 0);
|
assert.sameValue(Intl.NumberFormat.prototype.formatToParts.length, 1);
|
||||||
|
|
||||||
verifyNotEnumerable(Intl.NumberFormat.prototype.formatToParts, "length");
|
verifyNotEnumerable(Intl.NumberFormat.prototype.formatToParts, "length");
|
||||||
verifyNotWritable(Intl.NumberFormat.prototype.formatToParts, "length");
|
verifyNotWritable(Intl.NumberFormat.prototype.formatToParts, "length");
|
||||||
|
|
Loading…
Reference in New Issue