From acec2220e49dca6f659758ef3afad2383e1513f9 Mon Sep 17 00:00:00 2001 From: vanshavenger Date: Sun, 6 Oct 2024 22:49:07 +0530 Subject: [PATCH] Update: DEL test suites --- internal/eval/eval_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/eval/eval_test.go b/internal/eval/eval_test.go index c99455823..2486f515b 100644 --- a/internal/eval/eval_test.go +++ b/internal/eval/eval_test.go @@ -1937,12 +1937,12 @@ func testEvalDel(t *testing.T, store *dstore.Store) { "nil value": { setup: func() {}, input: nil, - output: []byte(":0\r\n"), + output: clientio.Encode(errors.New("ERR wrong number of arguments for 'del' command"), false), }, "empty array": { setup: func() {}, input: []string{}, - output: []byte(":0\r\n"), + output: clientio.Encode(errors.New("ERR wrong number of arguments for 'del' command"), false), }, "key does not exist": { setup: func() {},