Added numbering to last test case in ZRANGE test table

This commit is contained in:
Kelvin Clement Mwinuka
2024-02-22 07:32:04 +08:00
parent 045691ae94
commit b26743bd28

View File

@@ -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),
},