mirror of
https://github.com/zh-lx/pinyin-pro.git
synced 2026-03-13 09:51:38 +08:00
fix: "修复 convert 对于 iu 韵母转换不正确的问题"
This commit is contained in:
@@ -57,4 +57,9 @@ describe('convert', () => {
|
||||
const result = convert('l2', { format: 'numToSymbol' });
|
||||
expect(result).to.be.equal('l2');
|
||||
});
|
||||
|
||||
it('[convert]numToSymbol iu', () => {
|
||||
const result = convert('liu2', { format: 'numToSymbol' });
|
||||
expect(result).to.be.equal('liú');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user