1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-25 12:24:47 +02:00

pkg: fix some typos

Signed-off-by: thirdkeyword <fliterdashen@gmail.com>
This commit is contained in:
thirdkeyword 2024-03-06 21:31:50 +08:00 committed by Stefan Haller
parent 34f8f7293c
commit 1c098ff82a
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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) {

View File

@ -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")