diff --git a/tests/unit/type/zset.tcl b/tests/unit/type/zset.tcl index f3630aeb2660..d16b1b80c17e 100644 --- a/tests/unit/type/zset.tcl +++ b/tests/unit/type/zset.tcl @@ -132,7 +132,7 @@ start_server {tags {"zset"}} { } test "ZSET element can't be set to NaN with ZINCRBY - $encoding" { - assert_error "*not*float*" {r zadd myzset nan abc} + assert_error "*not*float*" {r zincrby myzset nan abc} } test "ZADD with options syntax error with incomplete pair - $encoding" {