Update src/main/utils/__tests__/mcp.test.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
SuYao 2025-12-04 21:00:47 +08:00 committed by GitHub
parent f800ec8593
commit 0ac3a2dd72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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_.\-:]*$/)