mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:41:23 +00:00
[ty] Stop running every mdtest twice
This was an accidental oversight introduced in commit
468eb37d75
.
This commit is contained in:
parent
692be72f5a
commit
5931a5207d
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ pub fn run(
|
||||||
println!("\n{}\n", test.name().bold().underline());
|
println!("\n{}\n", test.name().bold().underline());
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Err(failures) = run_test(&mut db, relative_fixture_path, snapshot_path, &test) {
|
if let Err(failures) = failures {
|
||||||
let md_index = LineIndex::from_source_text(&source);
|
let md_index = LineIndex::from_source_text(&source);
|
||||||
|
|
||||||
for test_failures in failures {
|
for test_failures in failures {
|
||||||
|
@ -105,7 +105,7 @@ pub fn run(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Err(inconsistencies) = run_module_resolution_consistency_test(&db) {
|
if let Err(inconsistencies) = inconsistencies {
|
||||||
any_failures = true;
|
any_failures = true;
|
||||||
for inconsistency in inconsistencies {
|
for inconsistency in inconsistencies {
|
||||||
match output_format {
|
match output_format {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue