Function pact_matching::matchingrules::compare_lists_with_matchingrules
source ยท pub fn compare_lists_with_matchingrules<T>(
path: &DocPath,
matching_rules: &RuleList,
expected: &[T],
actual: &[T],
context: &(dyn MatchingContext + Send + Sync),
callback: &mut dyn FnMut(&DocPath, &T, &T, &(dyn MatchingContext + Send + Sync)) -> Result<(), Vec<CommonMismatch>>
) -> Result<(), Vec<CommonMismatch>>
Expand description
Compare the expected and actual lists using matching rules