| 1 | package stashscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ |
| 2 | |
| 3 | import ( |
| 4 | "github.com/jesseduffield/lazygit/pkg/configscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/" |
| 5 | . "github.com/jesseduffield/lazygit/pkg/integration/componentsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/" |
| 6 | ) |
| 7 | |
| 8 | var ShowWithBranchNamedStashscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash. = NewIntegrationTestscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTest().(NewIntegrationTestArgsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#{ |
| 9 | Descriptionscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#Description.: "View stash when there is a branch also named 'stash'", |
| 10 | ExtraCmdArgsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#ExtraCmdArgs.: []string{}, |
| 11 | Skipscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#Skip.: false, |
| 12 | SetupConfigscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#SetupConfig.: func(configscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:config. *configscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/.AppConfigscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/AppConfig#) {}, |
| 13 | SetupReposcip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#SetupRepo.: func(shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:shell. *Shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#) { |
| 14 | shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:shell..EmptyCommitscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#EmptyCommit().("initial commit") |
| 15 | shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:shell..CreateFilescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#CreateFile().("file", "content") |
| 16 | shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:shell..GitAddAllscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#GitAddAll().() |
| 17 | |
| 18 | shellscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:shell..NewBranchscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Shell#NewBranch().("stash") |
| 19 | }, |
| 20 | Runscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/NewIntegrationTestArgs#Run.: func(tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:t. *TestDriverscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#, keysscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:keys. configscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/.KeybindingConfigscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingConfig#) { |
| 21 | tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Stashscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Stash().(). |
| 22 | IsEmptyscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#IsEmpty().() |
| 23 | |
| 24 | tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Filesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Files().(). |
| 25 | Linesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Lines().( |
| 26 | Containsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Contains().("file"), |
| 27 | ). |
| 28 | Pressscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Press().(keysscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:keys..Filesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingConfig#Files..StashAllChangesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/config`/KeybindingFilesConfig#StashAllChanges.) |
| 29 | |
| 30 | tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:t..ExpectPopupscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#ExpectPopup().().Promptscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Popup#Prompt().().Titlescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/PromptDriver#Title().(Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().("Stash changes")).Typescip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/PromptDriver#Type().("my stashed file").Confirmscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/PromptDriver#Confirm().() |
| 31 | |
| 32 | tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Stashscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Stash().(). |
| 33 | Linesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Lines().( |
| 34 | MatchesRegexpscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/MatchesRegexp().(`\ds .* my stashed file`), |
| 35 | ) |
| 36 | |
| 37 | tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Filesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Files().(). |
| 38 | IsEmptyscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#IsEmpty().() |
| 39 | |
| 40 | tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Stashscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Stash().().Focusscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#Focus().() |
| 41 | tscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/tests/stash`/ShowWithBranchNamedStash:t..Viewsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/TestDriver#Views().().Mainscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Views#Main().().ContainsLinesscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/ViewDriver#ContainsLines().(Equalsscip-go gomod github.com/jesseduffield/lazygit . `github.com/jesseduffield/lazygit/pkg/integration/components`/Equals().(" file | 1 +")) |
| 42 | }, |
| 43 | }) |