Skip to main content

compare_fragments

Function compare_fragments 

Source
pub fn compare_fragments(
    expected: &str,
    actual: &str,
    namespaces: &[(&str, &str)],
) -> Result<Vec<Difference>, Error>
Expand description

compare for fragments that use namespace prefixes they do not declare: both are read with namespaces in scope (see ReadOptions::namespaces).