Function pact_matching::match_text [−][src]
pub fn match_text(
expected: &Option<Bytes>,
actual: &Option<Bytes>,
context: &MatchingContext
) -> Result<(), Vec<Mismatch>>
Matches the actual text body to the expected one.
pub fn match_text(
expected: &Option<Bytes>,
actual: &Option<Bytes>,
context: &MatchingContext
) -> Result<(), Vec<Mismatch>>
Matches the actual text body to the expected one.