mirror of https://github.com/tc39/test262.git
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:
commit
cdf24aac8e
|
@ -18,9 +18,10 @@ features: [Intl.Locale]
|
||||||
|
|
||||||
/*
|
/*
|
||||||
alphanum = (ALPHA / DIGIT) ; letters and numbers
|
alphanum = (ALPHA / DIGIT) ; letters and numbers
|
||||||
collation = [(3*8alphanum) *("-" (3*8alphanum))]
|
collation = (3*8alphanum) *("-" (3*8alphanum))
|
||||||
*/
|
*/
|
||||||
const invalidCollationOptions = [
|
const invalidCollationOptions = [
|
||||||
|
"",
|
||||||
"a",
|
"a",
|
||||||
"ab",
|
"ab",
|
||||||
"abcdefghi",
|
"abcdefghi",
|
||||||
|
|
|
@ -37,7 +37,6 @@ features: [Intl.Locale]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const validCollationOptions = [
|
const validCollationOptions = [
|
||||||
["", "en-u-co"],
|
|
||||||
["abc", "en-u-co-abc"],
|
["abc", "en-u-co-abc"],
|
||||||
["abcd", "en-u-co-abcd"],
|
["abcd", "en-u-co-abcd"],
|
||||||
["abcde", "en-u-co-abcde"],
|
["abcde", "en-u-co-abcde"],
|
||||||
|
|
|
@ -18,9 +18,10 @@ features: [Intl.Locale]
|
||||||
|
|
||||||
/*
|
/*
|
||||||
alphanum = (ALPHA / DIGIT) ; letters and numbers
|
alphanum = (ALPHA / DIGIT) ; letters and numbers
|
||||||
numberingSystem = [(3*8alphanum) *("-" (3*8alphanum))]
|
numberingSystem = (3*8alphanum) *("-" (3*8alphanum))
|
||||||
*/
|
*/
|
||||||
const invalidNumberingSystemOptions = [
|
const invalidNumberingSystemOptions = [
|
||||||
|
"",
|
||||||
"a",
|
"a",
|
||||||
"ab",
|
"ab",
|
||||||
"abcdefghi",
|
"abcdefghi",
|
||||||
|
|
|
@ -37,7 +37,6 @@ features: [Intl.Locale]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const validNumberingSystemOptions = [
|
const validNumberingSystemOptions = [
|
||||||
["", "en-u-nu"],
|
|
||||||
["abc", "en-u-nu-abc"],
|
["abc", "en-u-nu-abc"],
|
||||||
["abcd", "en-u-nu-abcd"],
|
["abcd", "en-u-nu-abcd"],
|
||||||
["abcde", "en-u-nu-abcde"],
|
["abcde", "en-u-nu-abcde"],
|
||||||
|
|
Loading…
Reference in New Issue