summaryrefslogtreecommitdiff
path: root/packages/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/core/src')
-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', () => {