Intl: Add an overlong language to getInvalidLocaleArguments().

This commit is contained in:
Ms2ger 2018-10-25 14:53:05 +02:00 committed by Rick Waldron
parent b7fb4ade5e
commit 4986474fd1
1 changed files with 1 additions and 0 deletions

View File

@ -812,6 +812,7 @@ function getInvalidLocaleArguments() {
"u-nu-latn-cu-bob", // extension sequence without language
"hans-cmn-cn", // "hans" could theoretically be a 4-letter language code,
// but those can't be followed by extlang codes.
"abcdefghi", // overlong language
"cmn-hans-cn-u-u", // duplicate singleton
"cmn-hans-cn-t-u-ca-u", // duplicate singleton
"de-gregory-gregory", // duplicate variant