mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
Rename test_fail to test_err
This commit is contained in:
parent
63ca8bc91a
commit
84ff52390d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue