Skip to content

Commit

Permalink
test vendor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Calum Murray <[email protected]>
  • Loading branch information
Cali0707 committed Nov 22, 2023
1 parent 1d43b91 commit a347b8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func assertExpectedRoutedEvents(prober *eventshub.EventProber, expected map[stri
if len(want) != 0 && len(got) != 0 {
// ID is adjusted by eventshub.
except := []cmp.Option{
cmpopts.IgnoreFields(conformanceevent.ContextAttributes{}, "ID"),
cmpopts.IgnoreFields(conformanceevent.ContextAttributes{}, "ID", "Extensions"),
cmpopts.IgnoreMapEntries(func(k, v string) bool { return k == "knativearrivaltime" }),
}
if diff := cmp.Diff(want, got, except...); diff != "" {
Expand Down

0 comments on commit a347b8e

Please sign in to comment.