Skip to content

Commit 9a958ed

Browse files
committed
Add test for zh_hant2 (microsoft#112614)
1 parent bbf6e5c commit 9a958ed

File tree

3 files changed

+1709
-0
lines changed

3 files changed

+1709
-0
lines changed

src/vs/workbench/services/keybinding/test/electron-browser/macLinuxKeyboardMapper.test.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,6 +1690,20 @@ suite('keyboardMapper - MAC zh_hant', () => {
16901690
});
16911691
});
16921692

1693+
suite('keyboardMapper - MAC zh_hant2', () => {
1694+
1695+
let mapper: MacLinuxKeyboardMapper;
1696+
1697+
suiteSetup(async () => {
1698+
const _mapper = await createKeyboardMapper(false, 'mac_zh_hant2', OperatingSystem.Macintosh);
1699+
mapper = _mapper;
1700+
});
1701+
1702+
test('mapping', () => {
1703+
return assertMapping(WRITE_FILE_IF_DIFFERENT, mapper, 'mac_zh_hant2.txt');
1704+
});
1705+
});
1706+
16931707
function _assertKeybindingTranslation(mapper: MacLinuxKeyboardMapper, OS: OperatingSystem, kb: number, _expected: string | string[]): void {
16941708
let expected: string[];
16951709
if (typeof _expected === 'string') {

0 commit comments

Comments
 (0)