Remove test which duplicates 'style-default-en.js'

This commit is contained in:
André Bargull 2023-08-23 10:11:06 +02:00 committed by Ms2ger
parent eb613f6891
commit 4da0b8f005
1 changed files with 0 additions and 26 deletions

View File

@ -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");