1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-25 00:46:54 +02:00

fix backward compatibility

This commit is contained in:
Ryooooooga
2021-08-04 18:43:34 +09:00
parent 67cc65930a
commit ac609bd37c
11 changed files with 40 additions and 46 deletions

View File

@ -539,7 +539,7 @@ func TestLineNumberOfLine(t *testing.T) {
for _, s := range scenarios {
t.Run(s.testName, func(t *testing.T) {
result, _ := s.hunk.LineNumberOfLine(s.idx)
result := s.hunk.LineNumberOfLine(s.idx)
if !assert.Equal(t, s.expected, result) {
fmt.Println(result)
}