fix test for roundingIncrement: 500

This commit is contained in:
Frank Yung-Fong Tang 2022-01-06 11:21:53 -08:00 committed by Rick Waldron
parent 5ee4e0d609
commit 4cc44841f6

View File

@ -15,13 +15,13 @@ var numberingSystems = ['arab', 'latn', 'thai', 'hanidec'];
testNumberFormat( testNumberFormat(
locales, locales,
numberingSystems, numberingSystems,
{roundingIncrement: 500, maximumFractionDigits: 3}, {roundingIncrement: 500, maximumFractionDigits: 3, minimumFractionDigits: 1},
{ {
'1.500': '1.5', '1.500': '1.5',
'1.625': '1.5', '1.625': '1.5',
'1.750': '2', '1.750': '2.0',
'1.875': '2', '1.875': '2.0',
'2.000': '2', '2.000': '2.0',
} }
); );