1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

rename SelectedLine to CurrentLine in tests

This commit is contained in:
Jesse Duffield
2022-12-26 10:42:19 +11:00
parent 5d2584a188
commit fa0414777f
22 changed files with 41 additions and 41 deletions

View File

@ -43,10 +43,10 @@ var DiffAndApplyPatch = NewIntegrationTest(NewIntegrationTestArgs{
input.Enter()
assert.CurrentViewName("subCommits")
assert.MainViewContent(Contains("+second line"))
assert.SelectedLine(Contains("update"))
assert.CurrentLine(Contains("update"))
input.Enter()
assert.CurrentViewName("commitFiles")
assert.SelectedLine(Contains("file1"))
assert.CurrentLine(Contains("file1"))
assert.MainViewContent(Contains("+second line"))
// add the file to the patch
@ -63,7 +63,7 @@ var DiffAndApplyPatch = NewIntegrationTest(NewIntegrationTestArgs{
input.SwitchToFilesWindow()
assert.SelectedLine(Contains("file1"))
assert.CurrentLine(Contains("file1"))
assert.MainViewContent(Contains("+second line"))
},
})