We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 771b29a commit e30678aCopy full SHA for e30678a
1 file changed
packages/opencode/test/file/ripgrep.test.ts
@@ -51,7 +51,7 @@ describe("file.ripgrep", () => {
51
})
52
53
expect(hits.length).toBe(1)
54
- expect(hits[0]?.path.text).toBe("match.ts")
+ expect(path.basename(hits[0]?.path.text ?? "")).toBe("match.ts")
55
expect(hits[0]?.line_number).toBe(1)
56
expect(hits[0]?.lines.text).toContain("needle")
57
0 commit comments