This commit is contained in:
Aleksey Kladov 2018-02-10 14:18:38 +03:00
parent e792ec3eca
commit 3aec74bc5b

View file

@ -22,8 +22,8 @@ fn read_text(path: &Path) -> String {
} }
pub fn dir_tests<F>(paths: &[&str], f: F) pub fn dir_tests<F>(paths: &[&str], f: F)
where where
F: Fn(&str) -> String, F: Fn(&str) -> String,
{ {
for path in collect_tests(paths) { for path in collect_tests(paths) {
let actual = { let actual = {