mirror of https://github.com/astral-sh/ruff
[ty] Only print dashed line for failing tests (#22080)
This commit is contained in:
parent
58d25129aa
commit
30efab8138
|
|
@ -147,10 +147,10 @@ pub fn run(
|
||||||
"{}='{escaped_test_name}' cargo test -p ty_python_semantic --test mdtest -- {test_name}",
|
"{}='{escaped_test_name}' cargo test -p ty_python_semantic --test mdtest -- {test_name}",
|
||||||
EnvVars::MDTEST_TEST_FILTER,
|
EnvVars::MDTEST_TEST_FILTER,
|
||||||
);
|
);
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
println!("\n{}\n", "-".repeat(50));
|
println!("\n{}\n", "-".repeat(50));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
assert!(!any_failures, "Some tests failed.");
|
assert!(!any_failures, "Some tests failed.");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue