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.
This commit is contained in:
Yusuke Suzuki 2020-09-25 20:26:40 -07:00 committed by Rick Waldron
parent 348a706c5d
commit 3c789640ec
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
// Copyright 2017 the V8 project authors. All rights reserved. // 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. // This code is governed by the license found in the LICENSE file.
/*--- /*---
@ -18,4 +19,4 @@ assert.sameValue((new Intl.NumberFormat('en', {
style: 'currency', style: 'currency',
currency: 'CLF', currency: 'CLF',
maximumFractionDigits: 3 maximumFractionDigits: 3
})).resolvedOptions().maximumSignificantDigits, 3); })).resolvedOptions().maximumFractionDigits, 3);