summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryan Sawant <[email protected]>2025-07-10 02:08:58 -0400
committerGitHub <[email protected]>2025-07-10 06:08:58 +0000
commit316c0fa37bdb9c6ff233219eb45c9588c4b6015c (patch)
treeaa4e8c3620b6884013cbbbbd60916cb57676c333
parent58607b92dfe76dd657338b5433d0fd33800f9272 (diff)
Fix Patch for grep.test.ts (#3747)
-rw-r--r--packages/core/src/tools/grep.test.ts4
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', () => {