diff --git a/command/kv/del/kv_delete_test.go b/command/kv/del/kv_delete_test.go index aeba73445..982a90685 100644 --- a/command/kv/del/kv_delete_test.go +++ b/command/kv/del/kv_delete_test.go @@ -32,7 +32,7 @@ func TestKVDeleteCommand_Validation(t *testing.T) { }, "-cas no -modify-index": { []string{"-cas", "foo"}, - "Must specify -modify-index", + "Cannot delete a key that does not exist", }, "-modify-index no -cas": { []string{"-modify-index", "2", "foo"}, diff --git a/command/kv/put/kv_put_test.go b/command/kv/put/kv_put_test.go index 12c99d6f3..eec776b4e 100644 --- a/command/kv/put/kv_put_test.go +++ b/command/kv/put/kv_put_test.go @@ -39,10 +39,6 @@ func TestKVPutCommand_Validation(t *testing.T) { []string{"-release", "foo"}, "Missing -session", }, - "-cas no -modify-index": { - []string{"-cas", "foo"}, - "Must specify -modify-index", - }, "no key": { []string{}, "Missing KEY argument",