mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
update assert name and length check
This commit is contained in:
parent
034e5dd201
commit
ffae81a3f6
@ -25,8 +25,6 @@ features: [Intl.DurationFormat]
|
|||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Intl.DurationFormat.length, 0);
|
|
||||||
|
|
||||||
verifyProperty(Intl.DurationFormat, 'length', {
|
verifyProperty(Intl.DurationFormat, 'length', {
|
||||||
value: 0,
|
value: 0,
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
|
@ -21,9 +21,8 @@ features: [Intl.DurationFormat]
|
|||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
assert.sameValue(Intl.DurationFormat.name, "DurationFormat");
|
|
||||||
|
|
||||||
verifyProperty(Intl.DurationFormat, 'name', {
|
verifyProperty(Intl.DurationFormat, 'name', {
|
||||||
|
value: 'DurationFormat',
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
writable: false,
|
writable: false,
|
||||||
configurable: true
|
configurable: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user