From cfbac980d08ef1ddb0a369e522637b5cd014a374 Mon Sep 17 00:00:00 2001 From: imago Date: Sun, 18 Aug 2024 13:36:38 +0300 Subject: [PATCH] Fixed tests --- cmd/setup_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/setup_test.go b/cmd/setup_test.go index 21fcf82..a97b576 100644 --- a/cmd/setup_test.go +++ b/cmd/setup_test.go @@ -61,7 +61,7 @@ func TestFormatCommandDescriptions(t *testing.T) { result := formatCommandDescriptions() // Check if the returned string contains the expected command descriptions - expectedSubstring := "testCmd -" + expectedSubstring := "testCmd" if !strings.Contains(result, expectedSubstring) { t.Errorf("Expected formatted command descriptions to contain '%s', got '%s'", expectedSubstring, result) }