diff options
| author | Aryan Sawant <[email protected]> | 2025-07-10 02:08:58 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-10 06:08:58 +0000 |
| commit | 316c0fa37bdb9c6ff233219eb45c9588c4b6015c (patch) | |
| tree | aa4e8c3620b6884013cbbbbd60916cb57676c333 | |
| parent | 58607b92dfe76dd657338b5433d0fd33800f9272 (diff) | |
Fix Patch for grep.test.ts (#3747)
| -rw-r--r-- | packages/core/src/tools/grep.test.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/core/src/tools/grep.test.ts b/packages/core/src/tools/grep.test.ts index 75cf1d28..62346bcd 100644 --- a/packages/core/src/tools/grep.test.ts +++ b/packages/core/src/tools/grep.test.ts @@ -234,7 +234,9 @@ describe('GrepTool', () => { }; // 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('src/app'); + expect(grepTool.getDescription(params)).toContain( + path.join('src', 'app'), + ); }); it('should generate correct description with pattern, include, and path', () => { |
