From 3c789640ec1655d854fb73395a8f06fa429927b7 Mon Sep 17 00:00:00 2001 From: Yusuke Suzuki Date: Fri, 25 Sep 2020 20:26:40 -0700 Subject: [PATCH] dft-currency-mnfd-range-check-mxfd.js should check maximumFractionDigits, not maximumSignificantDigits This test is checking maximumSignificantDigits, but this is wrong. We should check maximumFractionDigits. --- .../intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js b/test/intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js index 487adaea41..96f9863071 100644 --- a/test/intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js +++ b/test/intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js @@ -1,4 +1,5 @@ // Copyright 2017 the V8 project authors. All rights reserved. +// Copyright 2020 Apple Inc. All rights reserved. // This code is governed by the license found in the LICENSE file. /*--- @@ -18,4 +19,4 @@ assert.sameValue((new Intl.NumberFormat('en', { style: 'currency', currency: 'CLF', maximumFractionDigits: 3 -})).resolvedOptions().maximumSignificantDigits, 3); +})).resolvedOptions().maximumFractionDigits, 3);