From fb195303c31e0dcd1ca20fe05b0e8569cd15152a Mon Sep 17 00:00:00 2001 From: rubyisrust Date: Mon, 12 Aug 2024 17:00:33 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: rubyisrust --- benchmarks/imaptest/main_test.go | 4 ++-- tests/search_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/imaptest/main_test.go b/benchmarks/imaptest/main_test.go index 294e27a2..ba6bf86d 100644 --- a/benchmarks/imaptest/main_test.go +++ b/benchmarks/imaptest/main_test.go @@ -127,7 +127,7 @@ func newScenario(c caseConfig, settingName string, s settingsConfig, port int) ( sc.timeout = time.Duration(secs) * 2 * time.Second } - // coomon arguments + // common arguments sc.imaptestParams = []string{ "host=127.0.0.1", fmt.Sprintf("port=%d", port), @@ -251,7 +251,7 @@ func TestHasIMAPTestAnError(t *testing.T) { want, wantWithIgnore bool }{ { - given: `Error: uknown error + given: `Error: unknown error This is not an error Error: user1@example.com[510]: Message UID=76 has \Recent flag in multiple sessions: 510 and 511: * 76 FETCH (FLAGS (\Answered \Deleted \Draft \Recent)) Logi List Stat Sele Fetc Fet2 Stor Dele Expu Appe Logo diff --git a/tests/search_test.go b/tests/search_test.go index 474f854d..c076b878 100644 --- a/tests/search_test.go +++ b/tests/search_test.go @@ -354,7 +354,7 @@ func TestSearchOr(t *testing.T) { c.OK("A004") // 1:50 are deleted, seen or draft. - c.C("A004 search or or deleted seen draft") + c.C("A004 search or deleted seen draft") c.S("* SEARCH " + seq(1, 50)) c.OK("A004")