Skip to content

Commit 4cd7386

Browse files
committed
fix test
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 1e92cbb commit 4cd7386

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/repofiles/diff_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,23 @@ func TestGetDiffPreview(t *testing.T) {
8383
{
8484
LeftIdx: 3,
8585
RightIdx: 0,
86+
Match: 4,
8687
Type: 3,
8788
Content: "-Description for repo1",
8889
Comments: nil,
8990
},
9091
{
9192
LeftIdx: 0,
9293
RightIdx: 3,
94+
Match: 3,
9395
Type: 2,
9496
Content: "+Description for repo1",
9597
Comments: nil,
9698
},
9799
{
98100
LeftIdx: 0,
99101
RightIdx: 4,
102+
Match: -1,
100103
Type: 2,
101104
Content: "+this is a new line",
102105
Comments: nil,

0 commit comments

Comments
 (0)