From b3ceecf80f98af9fbd1d2c39435127e84e1470ea Mon Sep 17 00:00:00 2001 From: Kelvin Clement Mwinuka Date: Wed, 8 May 2024 23:21:35 +0800 Subject: [PATCH] Removed unnecessary fmt.Println statement --- internal/modules/admin/commands_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/modules/admin/commands_test.go b/internal/modules/admin/commands_test.go index e408755..0ce38f7 100644 --- a/internal/modules/admin/commands_test.go +++ b/internal/modules/admin/commands_test.go @@ -264,7 +264,6 @@ func Test_AdminCommand(t *testing.T) { } // If we expect an error, check if the error matches the one we expect. if tests[i].wantExecErr != nil { - fmt.Println("RES: ", r) if !strings.Contains(strings.ToLower(r.Error().Error()), strings.ToLower(tests[i].wantExecErr.Error())) { t.Errorf("expected error to contain \"%s\", got \"%s\"", tests[i].wantExecErr.Error(), r.Error().Error()) return