Skip to content
Snippets Groups Projects
Commit 08667893 authored by Frank Tang's avatar Frank Tang
Browse files

numeric should be a boolean not a string

parent 5072e841
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ for (const [numeric, expected] of validNumericOptions) { ...@@ -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}"`
); );
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment