From 30efab8138852edf77cf413c90f06304ce0362f9 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Fri, 19 Dec 2025 14:20:03 +0100 Subject: [PATCH] [ty] Only print dashed line for failing tests (#22080) --- crates/ty_test/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ty_test/src/lib.rs b/crates/ty_test/src/lib.rs index f717811624..6a705af946 100644 --- a/crates/ty_test/src/lib.rs +++ b/crates/ty_test/src/lib.rs @@ -147,11 +147,11 @@ pub fn run( "{}='{escaped_test_name}' cargo test -p ty_python_semantic --test mdtest -- {test_name}", EnvVars::MDTEST_TEST_FILTER, ); + + println!("\n{}\n", "-".repeat(50)); } } - println!("\n{}\n", "-".repeat(50)); - assert!(!any_failures, "Some tests failed."); Ok(())