fix:#22 changed linting errors

This commit is contained in:
Elmar Kresse
2024-02-04 19:23:18 +01:00
parent 4d1748a3fb
commit 6d950e1c8d
7 changed files with 36 additions and 33 deletions

View File

@@ -205,8 +205,8 @@ func Test_splitEventType(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if got := splitEventType(tt.args.events); !reflect.DeepEqual(got, tt.want) {
t.Errorf("splitEventType() = %v, want %v", got, tt.want)
if got, _ := SplitEventType(tt.args.events); !reflect.DeepEqual(got, tt.want) {
t.Errorf("SplitEventType() = %v, want %v", got, tt.want)
}
})
}