mirror of
https://github.com/tc39/test262.git
synced 2025-07-25 23:14:47 +02:00
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);
|
assert.sameValue(Intl.DurationFormat.length, 0);
|
||||||
|
|
||||||
verifyNotEnumerable(Intl.DurationFormat, "length");
|
verifyProperty(Intl.DurationFormat, 'length', {
|
||||||
verifyNotWritable(Intl.DurationFormat, "length");
|
enumerable: false,
|
||||||
verifyConfigurable(Intl.DurationFormat, "length");
|
writable: false,
|
||||||
|
configurable: true
|
||||||
|
});
|
||||||
|
@ -23,6 +23,8 @@ includes: [propertyHelper.js]
|
|||||||
|
|
||||||
assert.sameValue(Intl.DurationFormat.name, "DurationFormat");
|
assert.sameValue(Intl.DurationFormat.name, "DurationFormat");
|
||||||
|
|
||||||
verifyNotEnumerable(Intl.DurationFormat, "name");
|
verifyProperty(Intl.DurationFormat, 'name', {
|
||||||
verifyNotWritable(Intl.DurationFormat, "name");
|
enumerable: false,
|
||||||
verifyConfigurable(Intl.DurationFormat, "name");
|
writable: false,
|
||||||
|
configurable: true
|
||||||
|
});
|
||||||
|
@ -25,6 +25,8 @@ features: [Intl.DurationFormat]
|
|||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
verifyNotEnumerable(Intl, "DurationFormat");
|
verifyProperty(Intl, 'DurationFormat', {
|
||||||
verifyWritable(Intl, "DurationFormat");
|
enumerable: false,
|
||||||
verifyConfigurable(Intl, "DurationFormat");
|
writable: true,
|
||||||
|
configurable: true
|
||||||
|
});
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||||
[[Configurable]]: true }.
|
[[Configurable]]: true }.
|
||||||
|
|
||||||
|
features: [Intl.DurationFormat]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||||
[[Configurable]]: true }.
|
[[Configurable]]: true }.
|
||||||
|
|
||||||
|
features: [Intl.DurationFormat]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ info: |
|
|||||||
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
|
||||||
[[Configurable]]: true }.
|
[[Configurable]]: true }.
|
||||||
|
|
||||||
|
features: [Intl.DurationFormat]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user