mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
feat: add age on stash lines
This commit is contained in:
@ -22,14 +22,14 @@ var Rename = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
t.Views().Stash().
|
||||
Focus().
|
||||
Lines(
|
||||
Equals("On master: bar"),
|
||||
Equals("On master: foo"),
|
||||
Contains("On master: bar"),
|
||||
Contains("On master: foo"),
|
||||
).
|
||||
SelectNextItem().
|
||||
Press(keys.Stash.RenameStash).
|
||||
Tap(func() {
|
||||
t.ExpectPopup().Prompt().Title(Equals("Rename stash: stash@{1}")).Type(" baz").Confirm()
|
||||
}).
|
||||
SelectedLine(Equals("On master: foo baz"))
|
||||
SelectedLine(Contains("On master: foo baz"))
|
||||
},
|
||||
})
|
||||
|
@ -29,7 +29,7 @@ var Stash = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
|
||||
t.Views().Stash().
|
||||
Lines(
|
||||
Contains("my stashed file"),
|
||||
MatchesRegexp(`\ds .* my stashed file`),
|
||||
)
|
||||
|
||||
t.Views().Files().
|
||||
|
Reference in New Issue
Block a user