This commit is contained in:
Christian Gunderman
2026-02-25 18:06:29 -08:00
parent f03b914b0d
commit bc55c2d4ab
2 changed files with 16 additions and 10 deletions
+3
View File
@@ -415,6 +415,9 @@ describe('EditTool', () => {
{ start: 2, end: 3 },
{ start: 5, end: 6 },
]);
expect(result.newContent).toBe(
' line1\n replacement\n line3\n replacement\n line5',
);
});
it('should correctly calculate matchRanges for regex replacements', async () => {