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:
Zibi Braniecki 2017-10-02 21:41:27 +02:00 committed by Leo Balter
parent aca48e4dfd
commit 2889100f21
1 changed files with 1 additions and 1 deletions

View File

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