Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Okhlopkov <[email protected]>
  • Loading branch information
Pavel Okhlopkov committed Nov 13, 2024
1 parent 1167505 commit 1f7732e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kube_events_manager/filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func TestApplyFilter(t *testing.T) {
t.Run("filter func with error", func(t *testing.T) {
uns := &unstructured.Unstructured{Object: map[string]interface{}{"foo": "bar"}}
_, err := applyFilter("", filterFuncWithError, uns)
assert.EqualError(t, err, "filterFn (github.com/deckhouse/module-sdk/pkg/kube-events-manager.filterFuncWithError) contains an error: invalid character 'a' looking for beginning of value")
assert.EqualError(t, err, "filterFn (github.com/flant/shell-operator/pkg/kube_events_manager.filterFuncWithError) contains an error: invalid character 'a' looking for beginning of value")
})
}

Expand Down

0 comments on commit 1f7732e

Please sign in to comment.