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

This commit is contained in:
2026-06-03 17:35:27 +02:00
committed by Gitea
parent a7babaf94b
commit 7f01a807b9
+5 -1
View File
@@ -33,6 +33,10 @@ test.for([
['zh-Hans-CN', 'zh'], ['zh-Hans-CN', 'zh'],
['zh-Hant-TW', '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]) => { ])('returns the language \'%s\'', ([locale, language]) => {
}); });