mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-01 01:30:51 +08:00
Update src/main/utils/__tests__/mcp.test.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
f800ec8593
commit
0ac3a2dd72
@ -239,7 +239,7 @@ describe('buildFunctionCallToolName', () => {
|
||||
expect(result).not.toMatch(/[\u3040-\u309f\u30a0-\u30ff]/)
|
||||
})
|
||||
|
||||
it('should handle Korean characters with base36 encoding', () => {
|
||||
it('should handle Korean characters with romanization', () => {
|
||||
const result = buildFunctionCallToolName('server', '사용자검색')
|
||||
// Should be ASCII-only
|
||||
expect(result).toMatch(/^[a-zA-Z_][a-zA-Z0-9_.\-:]*$/)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user