Rename test_fail to test_err

This commit is contained in:
DJMcNab 2018-12-20 15:09:57 +00:00
parent 63ca8bc91a
commit 84ff52390d

View file

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