mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
Fix Patch for grep.test.ts (#3747)
This commit is contained in:
@@ -234,7 +234,9 @@ describe('GrepTool', () => {
|
|||||||
};
|
};
|
||||||
// The path will be relative to the tempRootDir, so we check for containment.
|
// The path will be relative to the tempRootDir, so we check for containment.
|
||||||
expect(grepTool.getDescription(params)).toContain("'testPattern' within");
|
expect(grepTool.getDescription(params)).toContain("'testPattern' within");
|
||||||
expect(grepTool.getDescription(params)).toContain('src/app');
|
expect(grepTool.getDescription(params)).toContain(
|
||||||
|
path.join('src', 'app'),
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should generate correct description with pattern, include, and path', () => {
|
it('should generate correct description with pattern, include, and path', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user