numeric should be a boolean not a string

This commit is contained in:
Frank Tang 2018-10-05 18:43:50 -07:00
parent 5072e841be
commit 0866789361
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ for (const [numeric, expected] of validNumericOptions) {
assert.sameValue( assert.sameValue(
new Intl.Locale('en-u-kf-lower', {numeric}).numeric, new Intl.Locale('en-u-kf-lower', {numeric}).numeric,
String(expected), expected,
`new Intl.Locale("en-u-kf-lower", {numeric: ${numeric}}).numeric equals "${expected}"` `new Intl.Locale("en-u-kf-lower", {numeric: ${numeric}}).numeric equals "${expected}"`
); );
} }