Skip to content

Commit

Permalink
pkg: fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: thirdkeyword <[email protected]>
  • Loading branch information
thirdkeyword authored and stefanhaller committed Apr 20, 2024
1 parent 34f8f72 commit 1c098ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/integration/components/test_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pkg/integration/tests/custom_commands/form_prompts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 1c098ff

Please sign in to comment.