Skip to content

Commit

Permalink
ENH: Add Integration test for DEL with no Args
Browse files Browse the repository at this point in the history
  • Loading branch information
vanshavenger committed Oct 6, 2024
1 parent acec222 commit 7d616d6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion integration_tests/commands/async/del_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -45,4 +50,4 @@ func TestDel(t *testing.T) {
}
})
}
}
}

0 comments on commit 7d616d6

Please sign in to comment.