mirror of https://github.com/tc39/test262.git
Intl.Locale: Expect boolean values from the numeric getter.
The spec changed in <https://github.com/tc39/proposal-intl-locale/pull/59>.
This commit is contained in:
parent
5b0f7e19db
commit
584b651edf
|
@ -62,7 +62,7 @@ if ("caseFirst" in loc) {
|
|||
assert.sameValue(loc.caseFirst, "true");
|
||||
}
|
||||
if ("numeric" in loc) {
|
||||
assert.sameValue(loc.numeric, "false");
|
||||
assert.sameValue(loc.numeric, false);
|
||||
}
|
||||
assert.sameValue(loc.numberingSystem, "latn");
|
||||
|
||||
|
@ -92,7 +92,7 @@ if ("caseFirst" in loc) {
|
|||
assert.sameValue(loc.caseFirst, "false");
|
||||
}
|
||||
if ("numeric" in loc) {
|
||||
assert.sameValue(loc.numeric, "true");
|
||||
assert.sameValue(loc.numeric, true);
|
||||
}
|
||||
assert.sameValue(loc.numberingSystem, "jpanfin");
|
||||
|
||||
|
@ -117,6 +117,6 @@ if ("caseFirst" in loc) {
|
|||
assert.sameValue(loc.caseFirst, "true");
|
||||
}
|
||||
if ("numeric" in loc) {
|
||||
assert.sameValue(loc.numeric, "false");
|
||||
assert.sameValue(loc.numeric, false);
|
||||
}
|
||||
assert.sameValue(loc.numberingSystem, "latn");
|
||||
|
|
Loading…
Reference in New Issue