From 530bdaa299db252c30c377cf2f6e10cf0e7ec12e Mon Sep 17 00:00:00 2001 From: Noboru Saito Date: Wed, 9 Oct 2024 21:42:25 +0900 Subject: [PATCH] Fix again --- oviewer/input_search_test.go | 4 ++-- oviewer/keybind.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/oviewer/input_search_test.go b/oviewer/input_search_test.go index 1d5f5c3b..cf4f63b5 100644 --- a/oviewer/input_search_test.go +++ b/oviewer/input_search_test.go @@ -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", }, diff --git a/oviewer/keybind.go b/oviewer/keybind.go index e48bce2c..f287b367 100644 --- a/oviewer/keybind.go +++ b/oviewer/keybind.go @@ -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")