Skip to content

Commit baba646

Browse files
committed
Fix failing test: Update snapshot after documentation changes
- Updated system-prompt.spec.ts snapshot to match new tool descriptions - Changes reflect updated multi-file diff strategy documentation - Addresses test failure mentioned in PR #5232 comment by @mrubens
1 parent c4d15bb commit baba646

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-true.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Examples:
168168

169169
## apply_diff
170170
Description: Request to apply targeted modifications to an existing file by searching for specific sections of content and replacing them. This tool is ideal for precise, surgical edits when you know the exact content to change. It helps maintain proper indentation and formatting.
171-
You can perform multiple distinct search and replace operations within a single `apply_diff` call by providing multiple SEARCH/REPLACE blocks in the `diff` parameter. This is the preferred way to make several targeted changes to one file efficiently.
171+
You can perform multiple distinct search and replace operations within a single `apply_diff` call by providing multiple SEARCH/REPLACE blocks in the `diff` parameter. This is the preferred way to make several targeted changes efficiently.
172172
The SEARCH section must exactly match existing content including whitespace and indentation.
173173
If you're not confident in the exact content to search for, use the read_file tool first to get the exact content.
174174
When applying the diffs, be extra careful to remember to change any closing brackets or other syntax that may be affected by the diff farther down in the file.
@@ -220,7 +220,7 @@ def calculate_total(items):
220220

221221
```
222222

223-
Search/Replace content with multi edits:
223+
Search/Replace content with multiple edits:
224224
```
225225
<<<<<<< SEARCH
226226
:start_line:1

0 commit comments

Comments
 (0)