265
expectedEventsAttributes []map[string]any,
266
actualHistoryEvents []*historypb.HistoryEvent,
268
>
if th, ok := h.t.(helper); ok {
269
>
th.Helper()
270
>
}
271
272
>
actualHistoryEvents = h.sanitizeActualHistoryEventsForEquals(expectedHistoryEvents, actualHistoryEvents)
history_require.go
273
>
274
>
expectedCompactHistory := h.formatHistoryEvents(expectedHistoryEvents, true)
275
>
actualCompactHistory := h.formatHistoryEvents(actualHistoryEvents, true)
276
>
277
>
require.Equal(h.t, expectedCompactHistory, actualCompactHistory)
278
>
h.equalHistoryEventsAttributes(expectedEventsAttributes, actualHistoryEvents)
279
}
280