mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 18:44:30 -07:00
test: fix Windows CI execution and resolve exposed platform failures (#24476)
This commit is contained in:
@@ -532,7 +532,9 @@ describe('GrepTool', () => {
|
||||
expect(result.llmContent).toContain('L1: hello world');
|
||||
// Should NOT be a match (but might be in context as L2-)
|
||||
expect(result.llmContent).not.toContain('L2: second line with world');
|
||||
expect(result.llmContent).toContain('File: sub/fileC.txt');
|
||||
expect(result.llmContent).toContain(
|
||||
`File: ${path.join('sub', 'fileC.txt')}`,
|
||||
);
|
||||
expect(result.llmContent).toContain('L1: another world in sub dir');
|
||||
});
|
||||
|
||||
@@ -546,7 +548,7 @@ describe('GrepTool', () => {
|
||||
|
||||
expect(result.llmContent).toContain('Found 2 files with matches');
|
||||
expect(result.llmContent).toContain('fileA.txt');
|
||||
expect(result.llmContent).toContain('sub/fileC.txt');
|
||||
expect(result.llmContent).toContain(path.join('sub', 'fileC.txt'));
|
||||
expect(result.llmContent).not.toContain('L1:');
|
||||
expect(result.llmContent).not.toContain('hello world');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user