mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-12 00:26:24 -04:00
pkg: fix some typos (#3364)
This commit is contained in:
commit
580818e935
|
|
@ -121,7 +121,7 @@ func (self *TestDriver) ExpectClipboard(matcher *TextMatcher) {
|
|||
self.assertWithRetries(func() (bool, string) {
|
||||
text, err := clipboard.ReadAll()
|
||||
if err != nil {
|
||||
return false, "Error occured when reading from clipboard: " + err.Error()
|
||||
return false, "Error occurred when reading from clipboard: " + err.Error()
|
||||
}
|
||||
ok, _ := matcher.test(text)
|
||||
return ok, fmt.Sprintf("Expected clipboard to match %s, but got %s", matcher.name(), text)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import (
|
|||
)
|
||||
|
||||
var FormPrompts = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Description: "Using a custom command reffering prompt responses by name",
|
||||
Description: "Using a custom command referring prompt responses by name",
|
||||
ExtraCmdArgs: []string{},
|
||||
Skip: false,
|
||||
SetupRepo: func(shell *Shell) {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ var FastForwardWorktreeBranch = NewIntegrationTest(NewIntegrationTestArgs{
|
|||
Skip: false,
|
||||
SetupConfig: func(config *config.AppConfig) {},
|
||||
SetupRepo: func(shell *Shell) {
|
||||
// both main and linked worktree will have changed to fast-foward
|
||||
// both main and linked worktree will have changed to fast-forward
|
||||
shell.NewBranch("mybranch")
|
||||
shell.CreateFileAndAdd("README.md", "hello world")
|
||||
shell.Commit("initial commit")
|
||||
|
|
|
|||
Loading…
Reference in a new issue