mirror of https://github.com/tc39/test262.git
Remove test which duplicates 'style-default-en.js'
This commit is contained in:
parent
eb613f6891
commit
4da0b8f005
|
@ -1,26 +0,0 @@
|
|||
// Copyright 2022 Igalia, S.L. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-Intl.DurationFormat.prototype.format
|
||||
description: Test if format method formats duration correctly
|
||||
locale: [en-US]
|
||||
features: [Intl.DurationFormat]
|
||||
---*/
|
||||
|
||||
const duration = {
|
||||
years: 1,
|
||||
months: 2,
|
||||
weeks: 3,
|
||||
days: 3,
|
||||
hours: 4,
|
||||
minutes: 5,
|
||||
seconds: 6,
|
||||
milliseconds: 7,
|
||||
microseconds: 8,
|
||||
nanoseconds: 9,
|
||||
};
|
||||
|
||||
const df = new Intl.DurationFormat('en');
|
||||
|
||||
assert.sameValue(df.format(duration), "1 yr, 2 mths, 3 wks, 3 days, 4 hr, 5 min, 6 sec, 7 ms, 8 μs, 9 ns");
|
Loading…
Reference in New Issue