test(current-language-util): add test cases with extension

This commit is contained in:
2026-06-03 17:35:27 +02:00
parent 2e283ba260
commit 4eef927929
+5 -1
View File
@@ -33,6 +33,10 @@ test.for([
['zh-Hans-CN', 'zh'],
['zh-Hant-TW', 'zh'],
['uz-Latn-UZ', 'uz']
['uz-Latn-UZ', 'uz'],
['en-US-u-ca-gregory', 'en'],
['de-DE-u-co-phonebk', 'de'],
['zh-Hant-TW-u-co-phonebk', 'zh']
])('returns the language \'%s\'', ([locale, language]) => {
});