mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
4225971f03
commit
3ab3eca218
@ -120,8 +120,7 @@ describe('formatToolUse', () => {
|
||||
})
|
||||
|
||||
it('shortens Windows paths in file tool summaries', () => {
|
||||
const result = formatToolUse('Read', {file_path: 'C:\\Users\\test\\project\\src\\index.ts'})
|
||||
|
||||
const result = formatToolUse('Read', { file_path: 'C:\\Users\\test\\project\\src\\index.ts' })
|
||||
expect(result).toBe('🔧 Read …/project/src/index.ts')
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user