1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03: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)