pub fn assert_event_matches_msg<E: Clone + Into<TimelineEvent>>(
event: &E,
expected: &str,
)
Available on crate features
testing
only.Expand description
Checks that an event is a message-like text event with the given text.