mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Fix the tests and fix the precommit hook
This commit is contained in:
parent
466885aa5b
commit
134fe4f566
255 changed files with 210 additions and 561 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue