提交 5c45ae1f 编写于 作者: A antirez

Test SDIFF with first set empty.

上级 7a2065ef
......@@ -206,6 +206,13 @@ start_server {
}
}
test "SDIFF with first set empty" {
r del set1 set2 set3
r sadd set2 1 2 3 4
r sadd set3 a b c d
r sdiff set1 set2 set3
} {}
test "SINTER against non-set should throw error" {
r set key1 x
assert_error "ERR*wrong kind*" {r sinter key1 noset}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册