assert_event_matches_msg

Function assert_event_matches_msg 

Source
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.