mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Merge pull request #1835 from FrankYFTang/fix-constructor-options-numeric-valid
compare "numeric" as boolean instead of string
This commit is contained in:
commit
c0f6c8a0a0
@ -62,7 +62,7 @@ for (const [numeric, expected] of validNumericOptions) {
|
||||
|
||||
assert.sameValue(
|
||||
new Intl.Locale('en-u-kf-lower', {numeric}).numeric,
|
||||
String(expected),
|
||||
expected,
|
||||
`new Intl.Locale("en-u-kf-lower", {numeric: ${numeric}}).numeric equals "${expected}"`
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user