[ty] Stop running every mdtest twice

This was an accidental oversight introduced in commit
468eb37d75.
This commit is contained in:
Andrew Gallant 2025-08-21 13:22:47 -04:00 committed by Andrew Gallant
parent 692be72f5a
commit 5931a5207d

View file

@ -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 {