mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-05 07:56:52 +08:00
Removed unnecessary fmt.Println statement
This commit is contained in:
@@ -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 we expect an error, check if the error matches the one we expect.
|
||||||
if tests[i].wantExecErr != nil {
|
if tests[i].wantExecErr != nil {
|
||||||
fmt.Println("RES: ", r)
|
|
||||||
if !strings.Contains(strings.ToLower(r.Error().Error()), strings.ToLower(tests[i].wantExecErr.Error())) {
|
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())
|
t.Errorf("expected error to contain \"%s\", got \"%s\"", tests[i].wantExecErr.Error(), r.Error().Error())
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user