From b26743bd28474c3f7d83364e33a6b60be0763b58 Mon Sep 17 00:00:00 2001 From: Kelvin Clement Mwinuka Date: Thu, 22 Feb 2024 07:32:04 +0800 Subject: [PATCH] Added numbering to last test case in ZRANGE test table --- src/modules/sorted_set/commands_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/sorted_set/commands_test.go b/src/modules/sorted_set/commands_test.go index 39b7ba4..ef3f85f 100644 --- a/src/modules/sorted_set/commands_test.go +++ b/src/modules/sorted_set/commands_test.go @@ -2711,10 +2711,10 @@ func Test_HandleZRANGE(t *testing.T) { expectedResponse: [][]string{}, expectedError: errors.New(utils.WRONG_ARGS_RESPONSE), }, - { // Command too long + { // 16 Command too long preset: false, presetValues: nil, - command: []string{"ZRANGE", "key13", "a", "h", "BYLEX", "WITHSCORES", "LIMIT", "-4", "9", "REV", "WITHSCORES"}, + command: []string{"ZRANGE", "key16", "a", "h", "BYLEX", "WITHSCORES", "LIMIT", "-4", "9", "REV", "WITHSCORES"}, expectedResponse: [][]string{}, expectedError: errors.New(utils.WRONG_ARGS_RESPONSE), },