mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Test SDIFF with first set empty.
This commit is contained in:
parent
4264459141
commit
cddfd67ed4
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user