assert_content_text

Function assert_content_text 

Source
pub fn assert_content_text(content: &Content, expected: &str)
Expand description

Assert that content is text with expected value.

§Panics

Panics if the content is not text or doesn’t match.