Implemented tests for FLUSHDB and FLUSHALL commands

This commit is contained in:
Kelvin Mwinuka
2024-06-27 04:51:29 +08:00
parent 2223d00d85
commit f14de2d9ff

View File

@@ -2020,6 +2020,7 @@ func Test_Generic(t *testing.T) {
t.Run("Test_HandlerDECR", func(t *testing.T) {
t.Parallel()
conn, err := internal.GetConnection("localhost", port)
if err != nil {
t.Error(err)
return
@@ -2544,7 +2545,6 @@ func Test_Generic(t *testing.T) {
}
// Connect to the server
conn, err := internal.GetConnection("localhost", port)
if err != nil {
t.Error(err)