Skip to content

Commit 5931a52

Browse files
committed
[ty] Stop running every mdtest twice
This was an accidental oversight introduced in commit 468eb37.
1 parent 692be72 commit 5931a52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ty_test/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub fn run(
7878
println!("\n{}\n", test.name().bold().underline());
7979
}
8080

81-
if let Err(failures) = run_test(&mut db, relative_fixture_path, snapshot_path, &test) {
81+
if let Err(failures) = failures {
8282
let md_index = LineIndex::from_source_text(&source);
8383

8484
for test_failures in failures {
@@ -105,7 +105,7 @@ pub fn run(
105105
}
106106
}
107107
}
108-
if let Err(inconsistencies) = run_module_resolution_consistency_test(&db) {
108+
if let Err(inconsistencies) = inconsistencies {
109109
any_failures = true;
110110
for inconsistency in inconsistencies {
111111
match output_format {

0 commit comments

Comments
 (0)