From 4da0b8f005e730f2aba960af1d31e6b96628b806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Wed, 23 Aug 2023 10:11:06 +0200 Subject: [PATCH] Remove test which duplicates 'style-default-en.js' --- .../prototype/format/basic-format-en.js | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 test/intl402/DurationFormat/prototype/format/basic-format-en.js diff --git a/test/intl402/DurationFormat/prototype/format/basic-format-en.js b/test/intl402/DurationFormat/prototype/format/basic-format-en.js deleted file mode 100644 index fcc1f82e6e..0000000000 --- a/test/intl402/DurationFormat/prototype/format/basic-format-en.js +++ /dev/null @@ -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");