Function assert_event_matches_msg

Source
pub fn assert_event_matches_msg<E: Clone + Into<TimelineEvent>>(
    event: &E,
    expected: &str,
)
Available on crate feature testing only.
Expand description

Checks that an event is a message-like text event with the given text.