update assert name and length check

This commit is contained in:
Romulo Cintra 2022-01-26 09:57:52 +01:00 committed by Rick Waldron
parent 034e5dd201
commit ffae81a3f6
2 changed files with 1 additions and 4 deletions

View File

@ -25,8 +25,6 @@ features: [Intl.DurationFormat]
includes: [propertyHelper.js]
---*/
assert.sameValue(Intl.DurationFormat.length, 0);
verifyProperty(Intl.DurationFormat, 'length', {
value: 0,
enumerable: false,

View File

@ -21,9 +21,8 @@ features: [Intl.DurationFormat]
includes: [propertyHelper.js]
---*/
assert.sameValue(Intl.DurationFormat.name, "DurationFormat");
verifyProperty(Intl.DurationFormat, 'name', {
value: 'DurationFormat',
enumerable: false,
writable: false,
configurable: true