Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mativm02 committed Jan 25, 2024
1 parent f27c763 commit 52d7dfc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions storage/temporal_storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ func TestRedisClusterStorageManager_GetAndDeleteSet(t *testing.T) {

for _, tt := range testData {
t.Run(fmt.Sprintf("in: %v", tt), func(t *testing.T) {
ctx := context.Background()
if tt.in != nil {
in := [][]byte{}
for _, v := range tt.in {
Expand Down Expand Up @@ -151,6 +150,7 @@ func TestNewTemporalClusterStorageHandler(t *testing.T) {
})
}
}

func TestTemporalStorageHandler_ensureConnection(t *testing.T) {
conf := make(map[string]interface{})
conf["host"] = "localhost"
Expand Down Expand Up @@ -219,6 +219,7 @@ func TestTemporalStorageHandler_SetKey(t *testing.T) {
t.Fatalf("Expected value %s, got %s", session, res)
}
}

func TestTemporalStorageHandler_GetName(t *testing.T) {
conf := make(map[string]interface{})
conf["host"] = "localhost"
Expand All @@ -244,12 +245,13 @@ func TestTemporalStorageHandler_GetName(t *testing.T) {
t.Fatalf("Expected %s, but got %s", expected, result)
}
}

func TestTemporalStorageHandler_Init(t *testing.T) {
testCases := []struct {
name string
conf map[string]interface{}
forceReconnect bool
errExpected error
name string
forceReconnect bool
}{
{
name: "Valid configuration",
Expand Down

0 comments on commit 52d7dfc

Please sign in to comment.