mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
Fix broken test is deleted comment
This commit is contained in:
parent
134fe4f566
commit
0ffba1e896
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ fn gen_tests(mode: Mode) -> Result<()> {
|
||||||
// ok is never actually read, but it needs to be specified to create a Test in existing_tests
|
// ok is never actually read, but it needs to be specified to create a Test in existing_tests
|
||||||
let existing = existing_tests(&tests_dir, true)?;
|
let existing = existing_tests(&tests_dir, true)?;
|
||||||
for t in existing.keys().filter(|&t| !tests.contains_key(t)) {
|
for t in existing.keys().filter(|&t| !tests.contains_key(t)) {
|
||||||
// panic!("Test is deleted: {}", t);
|
panic!("Test is deleted: {}", t);
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut new_idx = existing.len() + 1;
|
let mut new_idx = existing.len() + 1;
|
||||||
|
|
Loading…
Reference in a new issue