Rename test_fail to test_err
This commit is contained in:
parent
63ca8bc91a
commit
84ff52390d
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user