diff --git a/cli/tests/helpers.rs b/cli/tests/helpers.rs index 0ba8ba883e..8e38646d69 100644 --- a/cli/tests/helpers.rs +++ b/cli/tests/helpers.rs @@ -164,7 +164,7 @@ pub struct ValgrindErrorXWhat { pub fn extract_valgrind_errors(xml: &str) -> Vec { let parsed_xml: ValgrindOutput = from_str(xml).unwrap_or_else(|err| - panic!("failed to parse the `valgrind` xml output. Error was:\n\n{:?}\n\nRaw valgrind output was:\n\n{}", err, xml)); + panic!("failed to parse the `valgrind` xml output. Error was:\n\n{:?}\n\nRaw valgrind output was:\n\n{:?}", err, xml)); parsed_xml .fields .iter()