Fix Patch for grep.test.ts (#3747)

This commit is contained in:
Aryan Sawant 2025-07-10 02:08:58 -04:00 committed by GitHub
parent 58607b92df
commit 316c0fa37b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -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', () => {