mirror of https://github.com/tc39/test262.git
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:
parent
348a706c5d
commit
3c789640ec
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue