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:
parent
7a6b5b6dd9
commit
744363597d
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue