Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions cmd/monitor_sentry_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package main

import (
"fmt"
"reflect"
"testing"

Expand All @@ -28,7 +27,7 @@ func TestConvertStringToTags(t *testing.T) {
expected: []*tag{},
},
} {
t.Run(fmt.Sprintf("%s", test.name), func(t *testing.T) {
t.Run(test.name, func(t *testing.T) {
output := convertStringToTags(test.input)
if !reflect.DeepEqual(test.expected, output) {
t.Errorf(
Expand Down Expand Up @@ -81,7 +80,7 @@ func TestMatchTags(t *testing.T) {
expected: false,
},
} {
t.Run(fmt.Sprintf("%s", test.name), func(t *testing.T) {
t.Run(test.name, func(t *testing.T) {
output := matchTags(test.input.tagList, test.input.matchTagList)
if !reflect.DeepEqual(test.expected, output) {
t.Errorf(
Expand Down Expand Up @@ -199,7 +198,7 @@ func TestMatchEvents(t *testing.T) {
},
},
} {
t.Run(fmt.Sprintf("%s", test.name), func(t *testing.T) {
t.Run(test.name, func(t *testing.T) {
output, err := matchEvents(
test.input.eventList,
test.input.message,
Expand Down