From c124f6c0378c6583d39a91095bbda4766a1a9b5e Mon Sep 17 00:00:00 2001 From: Yusuke Suzuki Date: Fri, 12 Nov 2021 18:02:09 -0800 Subject: [PATCH] Intl.NumberFormat v3's default roundingMode should be "halfExpand" The test was using "halfExpand (default)". --- .../NumberFormat/prototype/resolvedOptions/roundingMode.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/intl402/NumberFormat/prototype/resolvedOptions/roundingMode.js b/test/intl402/NumberFormat/prototype/resolvedOptions/roundingMode.js index d01f1edf6f..6bbf39220a 100644 --- a/test/intl402/NumberFormat/prototype/resolvedOptions/roundingMode.js +++ b/test/intl402/NumberFormat/prototype/resolvedOptions/roundingMode.js @@ -1,4 +1,5 @@ // Copyright 2021 the V8 project authors. All rights reserved. +// Copyright 2021 Apple Inc. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-intl.numberformat.prototype.resolvedoptions @@ -9,7 +10,7 @@ features: [Intl.NumberFormat-v3] var options; options = new Intl.NumberFormat([], {}).resolvedOptions(); -assert.sameValue(options.roundingMode, 'halfExpand (default)'); +assert.sameValue(options.roundingMode, 'halfExpand', 'default'); options = new Intl.NumberFormat([], {roundingMode: 'ceil'}).resolvedOptions(); assert.sameValue(options.roundingMode, 'ceil');