Skip to content

Commit

Permalink
fix linting error with unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: jbrinkman <[email protected]>
  • Loading branch information
jbrinkman committed Jan 18, 2025
1 parent 7843cda commit 2119e59
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions go/integTest/shared_commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package integTest

import (
"fmt"
"math"
"reflect"
"strconv"
Expand Down Expand Up @@ -6073,6 +6074,7 @@ func (suite *GlideTestSuite) TestEcho() {
})
}

func (suite *GlideTestSuite) TestZRemRangeByRank() {
suite.runWithDefaultClients(func(client api.BaseClient) {
key1 := uuid.New().String()
stringKey := uuid.New().String()
Expand Down Expand Up @@ -6332,11 +6334,11 @@ func (suite *GlideTestSuite) TestXGroupStreamCommands() {
// Set a string key, and expect an error when you try to create or delete a consumer group
_, err = client.Set(stringKey, "test")
assert.NoError(suite.T(), err)
respBool, err = client.XGroupCreateConsumer(stringKey, groupName, consumerName)
_, err = client.XGroupCreateConsumer(stringKey, groupName, consumerName)
assert.Error(suite.T(), err)
assert.IsType(suite.T(), &api.RequestError{}, err)

respInt64, err = client.XGroupDelConsumer(stringKey, groupName, consumerName)
_, err = client.XGroupDelConsumer(stringKey, groupName, consumerName)
assert.Error(suite.T(), err)
assert.IsType(suite.T(), &api.RequestError{}, err)
})
Expand Down

0 comments on commit 2119e59

Please sign in to comment.