mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 13:53:02 -07:00
fix(core): update language detection to use LSP 3.18 identifiers (#21931)
This commit is contained in:
@@ -18,14 +18,14 @@ describe('getProgrammingLanguage', () => {
|
||||
{
|
||||
name: 'file_path is present',
|
||||
args: { file_path: 'src/test.ts' },
|
||||
expected: 'TypeScript',
|
||||
expected: 'typescript',
|
||||
},
|
||||
{
|
||||
name: 'absolute_path is present',
|
||||
args: { absolute_path: 'src/test.py' },
|
||||
expected: 'Python',
|
||||
expected: 'python',
|
||||
},
|
||||
{ name: 'path is present', args: { path: 'src/test.go' }, expected: 'Go' },
|
||||
{ name: 'path is present', args: { path: 'src/test.go' }, expected: 'go' },
|
||||
{
|
||||
name: 'no file path is present',
|
||||
args: {},
|
||||
|
||||
Reference in New Issue
Block a user