diff --git a/integration/generic_test.go b/integration/generic_test.go index 66da92e3..ba793c4a 100644 --- a/integration/generic_test.go +++ b/integration/generic_test.go @@ -306,8 +306,9 @@ func TestCopy(t *testing.T) { c.Error("wrong number", "COPY", "a") c.Do("SET", "a", "1") - c.Do("COPY", "a", "b") // returns 1 (source copied) + c.Do("COPY", "a", "b") // returns 1 - successfully copied c.Do("EXISTS", "b") - c.Do("COPY", "nonexistent", "c") // returns 0 (source not copied) + c.Do("COPY", "nonexistent", "c") // returns 1 - not successfully copied + c.Do("RENAME", "b", "c") // rename the copied key }) }