feat: phase 1 changes: add comments feat to unchanged lines in the pull request.

This commit is contained in:
Rajesh Jonnalagadda committed 2024-11-11 07:03:55 +05:30
1 parent 0f397ae09b
commit 274ed54484
8 files changed
+292 -82

No files matched your search

+10 -7
View File
@@ -59,13 +59,16 @@ func TestGetDiffPreview(t *testing.T) {
Content: "@@ -1,3 +1,4 @@",
Comments: nil,
SectionInfo: &gitdiff.DiffLineSectionInfo{
Path: "README.md",
LastLeftIdx: 0,
LastRightIdx: 0,
LeftIdx: 1,
RightIdx: 1,
LeftHunkSize: 3,
RightHunkSize: 4,
Path: "README.md",
LastLeftIdx: 0,
LastRightIdx: 0,
LeftIdx: 1,
RightIdx: 1,
LeftHunkSize: 3,
RightHunkSize: 4,
HasComments: false,
LastRightCommentIdx: 0,
RightCommentIdx: 0,
},
},
{