Skip to content

Commit

Permalink
Update: DEL test suites
Browse files Browse the repository at this point in the history
  • Loading branch information
vanshavenger committed Oct 6, 2024
1 parent 7c98252 commit acec222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/eval/eval_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {},
Expand Down

0 comments on commit acec222

Please sign in to comment.