Test for case-insensitivity in invalid BCP 47 usage (#836)

This patch adds a regression test for a previous V8 bug reported originally at
https://bugs.chromium.org/p/v8/issues/detail?id=4215
This commit is contained in:
littledan 2017-01-20 11:56:46 -08:00 committed by Tom Care
parent f280db452e
commit e31b7c43b0
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@ var invalidLanguageTags = [
"i_klingon",
"cmn-hans-cn-t-ca-u-ca-x_t-u",
"enochian_enochian",
"de-gregory_u-ca-gregory"
"de-gregory_u-ca-gregory",
"de-tester-Tester", // Case-insensitive duplicate variant subtag
"de-DE-u-kn-true-U-kn-true", // Case-insensitive duplicate singleton subtag
];
testWithIntlConstructors(function (Constructor) {