We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e92cbb commit 4cd7386Copy full SHA for 4cd7386
modules/repofiles/diff_test.go
@@ -83,20 +83,23 @@ func TestGetDiffPreview(t *testing.T) {
83
{
84
LeftIdx: 3,
85
RightIdx: 0,
86
+ Match: 4,
87
Type: 3,
88
Content: "-Description for repo1",
89
Comments: nil,
90
},
91
92
LeftIdx: 0,
93
RightIdx: 3,
94
+ Match: 3,
95
Type: 2,
96
Content: "+Description for repo1",
97
98
99
100
101
RightIdx: 4,
102
+ Match: -1,
103
104
Content: "+this is a new line",
105
0 commit comments