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:
parent
34f8f7293c
commit
1c098ff82a
@ -121,7 +121,7 @@ func (self *TestDriver) ExpectClipboard(matcher *TextMatcher) {
|
|||||||
self.assertWithRetries(func() (bool, string) {
|
self.assertWithRetries(func() (bool, string) {
|
||||||
text, err := clipboard.ReadAll()
|
text, err := clipboard.ReadAll()
|
||||||
if err != nil {
|
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)
|
ok, _ := matcher.test(text)
|
||||||
return ok, fmt.Sprintf("Expected clipboard to match %s, but got %s", matcher.name(), 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{
|
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{},
|
ExtraCmdArgs: []string{},
|
||||||
Skip: false,
|
Skip: false,
|
||||||
SetupRepo: func(shell *Shell) {
|
SetupRepo: func(shell *Shell) {
|
||||||
|
@ -11,7 +11,7 @@ var FastForwardWorktreeBranch = NewIntegrationTest(NewIntegrationTestArgs{
|
|||||||
Skip: false,
|
Skip: false,
|
||||||
SetupConfig: func(config *config.AppConfig) {},
|
SetupConfig: func(config *config.AppConfig) {},
|
||||||
SetupRepo: func(shell *Shell) {
|
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.NewBranch("mybranch")
|
||||||
shell.CreateFileAndAdd("README.md", "hello world")
|
shell.CreateFileAndAdd("README.md", "hello world")
|
||||||
shell.Commit("initial commit")
|
shell.Commit("initial commit")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user