1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-07-22 02:59:39 +02:00

test: before refatoring count function

This commit is contained in:
oliverpool 2025-06-17 15:56:53 +02:00
parent 7a6b5b6dd9
commit 744363597d

View file

@ -712,6 +712,8 @@ func TestGetDiffFull(t *testing.T) {
assert.Equal(t, ".gitattributes", diff.Files[0].Name)
assert.Equal(t, "24139dae656713ba861751fb2c2ac38839349a7a", diff.Files[0].NameHash)
assert.Len(t, diff.Files[0].Sections, 2)
assert.Equal(t, 4, diff.Files[0].Sections[1].Lines[0].SectionInfo.LeftIdx)
})
}