mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
Test ZINCRBY return value.
This commit is contained in:
@ -290,6 +290,12 @@ start_server {tags {"zset"}} {
|
||||
assert_equal 6 [r zscore zset bar]
|
||||
}
|
||||
|
||||
test "ZINCRBY return value" {
|
||||
r del ztmp
|
||||
set retval [r zincrby ztmp 1.0 x]
|
||||
assert {$retval == 1.0}
|
||||
}
|
||||
|
||||
proc create_default_zset {} {
|
||||
create_zset zset {-inf a 1 b 2 c 3 d 4 e 5 f +inf g}
|
||||
}
|
||||
|
Reference in New Issue
Block a user