Skip to content

Conversation

@p12tic
Copy link
Contributor

@p12tic p12tic commented Apr 3, 2025

Context

While working on #2260 I noticed lack of multi-block diff tests, so added these.

Implementation

New tests.

Screenshots

Not applicable.

How to Test

npm test


Important

Add tests for multi-block replacements and line number handling in multi-search-replace.test.ts.

  • Tests:
    • Add tests for multi-block replacements in multi-search-replace.test.ts.
    • Include tests for handling line numbers in diffs.
    • Ensure applyDiff handles multiple blocks correctly.

This description was created by Ellipsis for bfac546. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Apr 3, 2025

⚠️ No Changeset found

Latest commit: bfac546

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 3, 2025
Copy link
Collaborator

@mrubens mrubens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 3, 2025
@mrubens mrubens merged commit 552ed0e into RooCodeInc:main Apr 3, 2025
19 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Apr 3, 2025
@p12tic p12tic deleted the more-multi-diff-block-tests branch April 3, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants