Merge pull request #1594 from Ms2ger/Locale-empty-throw

Intl.Locale: Update expectation for empty values for collation and numberingSystem.
This commit is contained in:
Rick Waldron 2018-06-13 11:40:37 -04:00 committed by GitHub
commit cdf24aac8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"],