if !missing_files.is_empty() {
assert!(
false,
- format!(
- "Didn't see a test file for the following files:\n\n{}\n",
- missing_files
- .iter()
- .map(|s| format!("\t{}", s))
- .collect::<Vec<_>>()
- .join("\n")
- )
+ "Didn't see a test file for the following files:\n\n{}\n",
+ missing_files
+ .iter()
+ .map(|s| format!("\t{}", s))
+ .collect::<Vec<_>>()
+ .join("\n")
);
}
}
if file_stem != current_file {
missing_files.push(path.to_str().unwrap().to_string());
}
- }
+ },
_ => continue,
};
}