mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Test SINTER with non existing key.
This commit is contained in:
parent
88f77a2b7e
commit
f800942f64
@ -216,6 +216,13 @@ start_server {
|
||||
assert_error "ERR*wrong kind*" {r sunion key1 noset}
|
||||
}
|
||||
|
||||
test "SINTER should handle non existing key as empty" {
|
||||
r del set1 set2 set3
|
||||
r sadd set1 a b c
|
||||
r sadd set2 b c d
|
||||
r sinter set1 set2 set3
|
||||
} {}
|
||||
|
||||
test "SINTERSTORE against non existing keys should delete dstkey" {
|
||||
r set setres xxx
|
||||
assert_equal 0 [r sinterstore setres foo111 bar222]
|
||||
|
Loading…
x
Reference in New Issue
Block a user