Skip to content
Snippets Groups Projects
Commit 650adc13 authored by Ms2ger's avatar Ms2ger
Browse files

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.
parent f90a52b3
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
......@@ -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"],
......
......@@ -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",
......
......@@ -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"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment