mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
Fix ForEachLineInFile to not lose the last line if it doesn't end with a LF
This commit is contained in:
@@ -52,9 +52,6 @@ var ResolveWithoutTrailingLf = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Contains("M file").IsSelected(),
|
||||
)
|
||||
|
||||
/* EXPECTED:
|
||||
t.Views().Main().Content(Contains("-a1\n+a2\n").DoesNotContain("-no eol"))
|
||||
ACTUAL: */
|
||||
t.Views().Main().Content(Contains("-a1\n+a2\n").Contains("-no eol"))
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user