Fix the tests and fix the precommit hook

This commit is contained in:
DJMcNab 2018-12-20 16:45:54 +00:00
parent 466885aa5b
commit 134fe4f566
255 changed files with 210 additions and 561 deletions

View file

@ -47,7 +47,7 @@ pub fn collect_tests(s: &str) -> Vec<(usize, Test)> {
}
Some((idx, line)) if line.starts_with("test_err ") => {
ok = false;
break (idx, line["test_fail ".len()..].to_string());
break (idx, line["test_err ".len()..].to_string());
}
Some(_) => (),
None => continue 'outer,