Function match_text

Source
pub fn match_text(
    expected: &Option<Bytes>,
    actual: &Option<Bytes>,
    context: &dyn MatchingContext,
) -> Result<(), Vec<Mismatch>>
Expand description

Matches the actual text body to the expected one.