|
|
@ -137,7 +137,6 @@ func TestMakeTopics(t *testing.T) { |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
for _, tt := range tests { |
|
|
|
for _, tt := range tests { |
|
|
|
tt := tt |
|
|
|
|
|
|
|
t.Run(tt.name, func(t *testing.T) { |
|
|
|
t.Run(tt.name, func(t *testing.T) { |
|
|
|
t.Parallel() |
|
|
|
t.Parallel() |
|
|
|
got, err := MakeTopics(tt.args.query...) |
|
|
|
got, err := MakeTopics(tt.args.query...) |
|
|
@ -373,7 +372,6 @@ func TestParseTopics(t *testing.T) { |
|
|
|
tests := setupTopicsTests() |
|
|
|
tests := setupTopicsTests() |
|
|
|
|
|
|
|
|
|
|
|
for _, tt := range tests { |
|
|
|
for _, tt := range tests { |
|
|
|
tt := tt |
|
|
|
|
|
|
|
t.Run(tt.name, func(t *testing.T) { |
|
|
|
t.Run(tt.name, func(t *testing.T) { |
|
|
|
t.Parallel() |
|
|
|
t.Parallel() |
|
|
|
createObj := tt.args.createObj() |
|
|
|
createObj := tt.args.createObj() |
|
|
@ -393,7 +391,6 @@ func TestParseTopicsIntoMap(t *testing.T) { |
|
|
|
tests := setupTopicsTests() |
|
|
|
tests := setupTopicsTests() |
|
|
|
|
|
|
|
|
|
|
|
for _, tt := range tests { |
|
|
|
for _, tt := range tests { |
|
|
|
tt := tt |
|
|
|
|
|
|
|
t.Run(tt.name, func(t *testing.T) { |
|
|
|
t.Run(tt.name, func(t *testing.T) { |
|
|
|
t.Parallel() |
|
|
|
t.Parallel() |
|
|
|
outMap := make(map[string]interface{}) |
|
|
|
outMap := make(map[string]interface{}) |
|
|
|