Intl.Locale: Update expectation for empty values for collation and numberingSystem.

The spec changed in https://github.com/tc39/proposal-intl-locale/pull/47.

The tests for calendar were already correct.
This commit is contained in:
Ms2ger 2018-06-13 09:43:05 +02:00
parent f90a52b396
commit 650adc13bf
4 changed files with 4 additions and 4 deletions

View File

@ -18,9 +18,10 @@ features: [Intl.Locale]
/*
alphanum = (ALPHA / DIGIT) ; letters and numbers
collation = [(3*8alphanum) *("-" (3*8alphanum))]
collation = (3*8alphanum) *("-" (3*8alphanum))
*/
const invalidCollationOptions = [
"",
"a",
"ab",
"abcdefghi",

View File

@ -37,7 +37,6 @@ features: [Intl.Locale]
---*/
const validCollationOptions = [
["", "en-u-co"],
["abc", "en-u-co-abc"],
["abcd", "en-u-co-abcd"],
["abcde", "en-u-co-abcde"],

View File

@ -18,9 +18,10 @@ features: [Intl.Locale]
/*
alphanum = (ALPHA / DIGIT) ; letters and numbers
numberingSystem = [(3*8alphanum) *("-" (3*8alphanum))]
numberingSystem = (3*8alphanum) *("-" (3*8alphanum))
*/
const invalidNumberingSystemOptions = [
"",
"a",
"ab",
"abcdefghi",

View File

@ -37,7 +37,6 @@ features: [Intl.Locale]
---*/
const validNumberingSystemOptions = [
["", "en-u-nu"],
["abc", "en-u-nu-abc"],
["abcd", "en-u-nu-abcd"],
["abcde", "en-u-nu-abcde"],