Searched refs:assert_error (Results 1 – 8 of 8) sorted by relevance
20 assert_error "*invalid multibulk length*" {r read}27 assert_error "*expected '$', got 'f'*" {r read}34 assert_error "*invalid bulk length*" {r read}41 assert_error "*invalid bulk length*" {r read}48 assert_error "*invalid bulk length*" {r read}55 assert_error "*expected '$', got 'f'*" {r read}60 assert_error "*wrong*arguments*ping*" {r ping x y z}68 assert_error "*unbalanced*" {r read}
13 assert_error * {r ping}22 assert_error * {r read}34 assert_error * {r read}
194 assert_error "WRONGTYPE*" {r setbit mykey 0 1}199 assert_error "*out of range*" {r setbit mykey [expr 4*1024*1024*1024] 1}200 assert_error "*out of range*" {r setbit mykey -1 1}205 assert_error "*out of range*" {r setbit mykey 0 -1}206 assert_error "*out of range*" {r setbit mykey 0 2}207 assert_error "*out of range*" {r setbit mykey 0 10}208 assert_error "*out of range*" {r setbit mykey 0 20}328 assert_error "WRONGTYPE*" {r setrange mykey 0 bar}333 assert_error "*maximum allowed size*" {r setrange mykey [expr 512*1024*1024-4] world}336 assert_error "*out of range*" {r setrange mykey -1 world}[all …]
253 assert_error "WRONGTYPE*" {$rd read}262 assert_error "WRONGTYPE*" {$rd read}270 assert_error "WRONGTYPE*" {$rd read}280 assert_error "WRONGTYPE*" {$rd read}293 assert_error "WRONGTYPE*" {$rd1 read}458 assert_error "WRONGTYPE*" {$rd read}582 assert_error WRONGTYPE* {r llen mylist}598 assert_error WRONGTYPE* {r lpush mylist 0}602 assert_error WRONGTYPE* {r rpush mylist 0}685 assert_error WRONGTYPE* {r lpop notalist}[all …]
39 assert_error "*not*float*" {r zadd myzset nan abc}43 assert_error "*not*float*" {r zadd myzset nan abc}126 assert_error "*NaN*" {r zincrby myzset -inf abc}380 assert_error "*not*float*" {r zrangebyscore fooz str 1}381 assert_error "*not*float*" {r zrangebyscore fooz 1 str}382 assert_error "*not*float*" {r zrangebyscore fooz 1 NaN}450 assert_error "*not*string*" {r zrangebylex fooz foo bar}662 assert_error "*weight*not*float*" {679 assert_error "*WRONGTYPE*" {r zpopmin foo}686 assert_error "*WRONGTYPE*" {r zpopmin foo 2}[all …]
38 assert_error WRONGTYPE* {r sadd mylist bar}251 assert_error "WRONGTYPE*" {r sinter key1 noset}256 assert_error "WRONGTYPE*" {r sunion key1 noset}551 assert_error "WRONGTYPE*" {r smove x myset2 foo}556 assert_error "WRONGTYPE*" {r smove myset2 x foo}
145 assert_error "*wrong*" {r hmget wrongtype field1 field2}
33 proc assert_error {pattern code} { procedure