From 1946083410fbbdd294e30c273c7aca5051d89593 Mon Sep 17 00:00:00 2001 From: Wen Hui Date: Wed, 14 Jun 2023 15:03:33 +0800 Subject: [PATCH] Removing the duplicate test case (#12310) Looks like the Zadd test case was copied to create Zincrby test case ,but missed to change the command. --- tests/unit/type/zset.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" {