diff --git a/integration_tests/commands/async/del_test.go b/integration_tests/commands/async/del_test.go index 4f0284523..2e31fa76d 100644 --- a/integration_tests/commands/async/del_test.go +++ b/integration_tests/commands/async/del_test.go @@ -30,6 +30,11 @@ func TestDel(t *testing.T) { commands: []string{"GET k3", "DEL k3"}, expected: []interface{}{"(nil)", int64(0)}, }, + { + name: "DEL with no keys or arguments", + commands: []string{"DEL"}, + expected: []interface{}{"ERR wrong number of arguments for 'del' command"}, + }, } for _, tc := range testCases { @@ -45,4 +50,4 @@ func TestDel(t *testing.T) { } }) } -} +} \ No newline at end of file