Skip to content

Commit

Permalink
Fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
noborus committed Oct 9, 2024
1 parent 40e74e2 commit 530bdaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions oviewer/input_search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,14 @@ func Test_stripBackSlash(t *testing.T) {
want string
}{
{
name: "nonEsacape",
name: "nonEscaape",
args: args{
str: "\test",
},
want: "\test",
},
{
name: "nonEsacape2",
name: "nonEscape2",
args: args{
str: "!test",
},
Expand Down
2 changes: 1 addition & 1 deletion oviewer/keybind.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ func (k KeyBind) String() string {
k.writeKeyBind(&b, actionLastSection, "last section")
k.writeKeyBind(&b, actionFollowSection, "follow section mode toggle")
k.writeKeyBind(&b, actionSectionNum, "number of section header lines")
k.writeKeyBind(&b, actionHideOther, "hide other section toggle")
k.writeKeyBind(&b, actionHideOther, `hide "other" section toggle`)

writeHeader(&b, "Close and reload")
k.writeKeyBind(&b, actionCloseFile, "close file")
Expand Down

0 comments on commit 530bdaa

Please sign in to comment.