mirror of https://github.com/tc39/test262.git
update DurationFormat tests
This commit is contained in:
parent
d86b913c11
commit
95613d4ec8
|
@ -27,6 +27,8 @@ includes: [propertyHelper.js]
|
|||
|
||||
assert.sameValue(Intl.DurationFormat.length, 0);
|
||||
|
||||
verifyNotEnumerable(Intl.DurationFormat, "length");
|
||||
verifyNotWritable(Intl.DurationFormat, "length");
|
||||
verifyConfigurable(Intl.DurationFormat, "length");
|
||||
verifyProperty(Intl.DurationFormat, 'length', {
|
||||
enumerable: false,
|
||||
writable: false,
|
||||
configurable: true
|
||||
});
|
||||
|
|
|
@ -23,6 +23,8 @@ includes: [propertyHelper.js]
|
|||
|
||||
assert.sameValue(Intl.DurationFormat.name, "DurationFormat");
|
||||
|
||||
verifyNotEnumerable(Intl.DurationFormat, "name");
|
||||
verifyNotWritable(Intl.DurationFormat, "name");
|
||||
verifyConfigurable(Intl.DurationFormat, "name");
|
||||
verifyProperty(Intl.DurationFormat, 'name', {
|
||||
enumerable: false,
|
||||
writable: false,
|
||||
configurable: true
|
||||
});
|
||||
|
|
|
@ -25,6 +25,8 @@ features: [Intl.DurationFormat]
|
|||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
verifyNotEnumerable(Intl, "DurationFormat");
|
||||
verifyWritable(Intl, "DurationFormat");
|
||||
verifyConfigurable(Intl, "DurationFormat");
|
||||
verifyProperty(Intl, 'DurationFormat', {
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
configurable: true
|
||||
});
|
||||
|
|
|
@ -21,6 +21,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
|
||||
features: [Intl.DurationFormat]
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
|
||||
features: [Intl.DurationFormat]
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ info: |
|
|||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||
[[Configurable]]: true }.
|
||||
|
||||
features: [Intl.DurationFormat]
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue