mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Variadic SADD tests
This commit is contained in:
parent
22f294d24a
commit
271f087842
@ -59,6 +59,13 @@ start_server {
|
||||
assert_encoding hashtable myset
|
||||
}
|
||||
|
||||
test {Variadic SADD} {
|
||||
r del myset
|
||||
assert_equal 3 [r sadd myset a b c]
|
||||
assert_equal 2 [r sadd myset A a b c B]
|
||||
assert_equal [lsort {A a b c B}] [lsort [r smembers myset]]
|
||||
}
|
||||
|
||||
test "Set encoding after DEBUG RELOAD" {
|
||||
r del myintset myhashset mylargeintset
|
||||
for {set i 0} {$i < 100} {incr i} { r sadd myintset $i }
|
||||
|
Loading…
x
Reference in New Issue
Block a user