mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Remove the toast when toggling "ignore whitespace"
Now that we visualize the state, the toast is no longer needed.
This commit is contained in:
committed by
Jesse Duffield
parent
64b2685c2d
commit
401610c0ef
@ -35,8 +35,6 @@ var IgnoreWhitespace = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
IsFocused().
|
||||
Press(keys.Universal.ToggleWhitespaceInDiffView)
|
||||
|
||||
t.ExpectToast(Equals("Whitespace will be ignored in the diff view"))
|
||||
|
||||
// lines with only whitespace changes are ignored (first and third lines)
|
||||
t.Views().Main().ContainsLines(
|
||||
Contains(` first-line`),
|
||||
@ -50,8 +48,6 @@ var IgnoreWhitespace = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
IsFocused().
|
||||
Press(keys.Universal.ToggleWhitespaceInDiffView)
|
||||
|
||||
t.ExpectToast(Equals("Whitespace will be shown in the diff view"))
|
||||
|
||||
t.Views().Main().ContainsLines(
|
||||
Contains(`-first-line`),
|
||||
Contains(`-old-second-line`),
|
||||
|
Reference in New Issue
Block a user